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)
commitcd0745253c4a9ec59a035e830e54d74a05b71aaa
tree6918203b93cfd2891b42eab91f351982ac80ec3a
parentedfb2ed1f22bc735af5a0c3d3ae6ab6771d28f2c
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
source/scripting/python/samba/provision.py
source/selftest/target/Samba4.pm
source/setup/cn=samba-admin.ldif [new file with mode: 0644]
source/setup/cn=samba.ldif [new file with mode: 0644]
source/setup/provision
source/setup/secrets_init.ldif
source/setup/secrets_sasl_ldap.ldif [new file with mode: 0644]
source/setup/secrets_simple_ldap.ldif [new file with mode: 0644]
source/setup/slapd.conf