mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
a6b842f963
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 cd0745253c
)
10 lines
178 B
Plaintext
10 lines
178 B
Plaintext
dn: CN=SAMDB Credentials
|
|
objectClass: top
|
|
objectClass: ldapSecret
|
|
cn: SAMDB Credentials
|
|
secret:: ${LDAPADMINPASS_B64}
|
|
samAccountName: ${LDAPADMINUSER}
|
|
realm: ${LDAPADMINREALM}
|
|
|
|
|