summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/param/loadparm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index d1448df8d3..724d10c2fa 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -579,6 +579,7 @@ static struct enum_list enum_ldap_ssl[] = {
{LDAP_SSL_OFF, "off"},
{LDAP_SSL_OFF, "Off"},
{LDAP_SSL_START_TLS, "start tls"},
+ {LDAP_SSL_START_TLS, "start_tls"},
{-1, NULL}
};
#endif /* WITH_LDAP_SAM */
@@ -1307,8 +1308,8 @@ static void init_globals(void)
string_set(&Globals.szLdapSuffix, "");
string_set(&Globals.szLdapFilter, "(&(uid=%u)(objectclass=sambaAccount))");
string_set(&Globals.szLdapAdminDn, "");
- Globals.ldap_port = 389;
- Globals.ldap_ssl = LDAP_SSL_OFF;
+ Globals.ldap_port = 636;
+ Globals.ldap_ssl = LDAP_SSL_ON;
#endif /* WITH_LDAP_SAM */
#ifdef WITH_SSL