Connect to the LDAP backend with SASL credentials.
authorAndrew Bartlett <abartlet@samba.org>
Tue, 15 Jul 2008 05:15:12 +0000 (15:15 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 15 Jul 2008 05:15:12 +0000 (15:15 +1000)
commita6b842f9634cbeb4075c2bbaf7e49c19104602be
tree17fae6772e9d44ab32835ab7ddc454c9a075bafa
parent403f4f94ffec28d1c1dc910e1960531f4c14534b
Connect to the LDAP backend with SASL credentials.

This reworks our LDAP backend code to move from anonymous access to a
shared-secret SASL-protected connection.  (SASL selects NTLM or
DIGEST-MD5 on my system).

To get this working, we must pre-populate the LDAP backend with a DN
to store ths SASL secret on, and we use back-ldif for this.

This gives us a reasonable basis to deploy a replicated OpenLDAP
backend solution.

Andrew Bartlett
(This used to be commit cd0745253c4a9ec59a035e830e54d74a05b71aaa)
source4/scripting/python/samba/provision.py
source4/selftest/target/Samba4.pm
source4/setup/cn=samba-admin.ldif [new file with mode: 0644]
source4/setup/cn=samba.ldif [new file with mode: 0644]
source4/setup/provision
source4/setup/secrets_init.ldif
source4/setup/secrets_sasl_ldap.ldif [new file with mode: 0644]
source4/setup/secrets_simple_ldap.ldif [new file with mode: 0644]
source4/setup/slapd.conf