36) Add version strings to the usage message for smbcacls and smbpasswd
37) Fix bug in the write cache code
38) make the default printed values for boolean the same for all parameters
+39) Default all LDAP connections to v3 with compiling with --with-ldapsam
Changes since 2.2.6pre1
{"ERRlogonfailure",ERRlogonfailure,"Logon failure"},
{"ERRdiskfull",ERRdiskfull,"Disk full"},
{"ERRgeneral",ERRgeneral, "General failure"},
+ {"ERRunknownlevel",ERRunknownlevel, "Unknown info level"},
{NULL,-1,NULL}};
/* Server Error Messages */
/* Connect to older servers using SSL and V2 rather than Start TLS */
if (ldap_get_option(*ldap_struct, LDAP_OPT_PROTOCOL_VERSION, &version) == LDAP_OPT_SUCCESS)
{
- if (version != LDAP_VERSION2)
+ if (version != LDAP_VERSION3)
{
- version = LDAP_VERSION2;
+ version = LDAP_VERSION3;
ldap_set_option (*ldap_struct, LDAP_OPT_PROTOCOL_VERSION, &version);
}
}