diff options
author | Karolin Seeger <kseeger@samba.org> | 2008-12-17 15:53:51 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2008-12-17 16:31:06 +0100 |
commit | 9458d4be87f50abbaf0350bf5e3a968ae5fbeba5 (patch) | |
tree | b69db2a8048d62241ccafbe8a3333abc2bd1c8aa /source3/param | |
parent | 6ac36698e975649d26e3f2975c2101129c3ffe97 (diff) | |
download | samba-9458d4be87f50abbaf0350bf5e3a968ae5fbeba5.tar.gz samba-9458d4be87f50abbaf0350bf5e3a968ae5fbeba5.tar.xz samba-9458d4be87f50abbaf0350bf5e3a968ae5fbeba5.zip |
s3/loadparm.c: Change default value for "ldap ssl".
LDAP_SSL_ON is not defined at all. That's why the actual default value
was "" for a long time. Set a more sensible default value without chnging the
default behaviour.
-----8<------------------snip--------------8<--------------
user@host:/data/git/samba/v3-0-test/source> git grep LDAP_SSL_ON | cat
include/smb.h:enum ldap_ssl_types {LDAP_SSL_ON, LDAP_SSL_OFF,
LDAP_SSL_START_TLS};
param/loadparm.c: Globals.ldap_ssl = LDAP_SSL_ON;
----->8------------------snap-------------->8--------------
It's the same in 3.2 and 3.3 series.
Karolin
Diffstat (limited to 'source3/param')
-rw-r--r-- | source3/param/loadparm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 9a55067b01..9bd664534a 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -4886,7 +4886,7 @@ static void init_globals(bool first_time_only) string_set(&Globals.szLdapIdmapSuffix, ""); string_set(&Globals.szLdapAdminDn, ""); - Globals.ldap_ssl = LDAP_SSL_ON; + Globals.ldap_ssl = LDAP_SSL_OFF; Globals.ldap_passwd_sync = LDAP_PASSWD_SYNC_OFF; Globals.ldap_delete_dn = False; Globals.ldap_replication_sleep = 1000; /* wait 1 sec for replication */ |