1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-18 00:59:12 +03:00

Rework provision to handle both simple and SASL binds.

Fedora DS is still setup for simple binds only, at this point.
(it also fails on other issues).

Andrew Bartlett
(This used to be commit b24c572d5a)
This commit is contained in:
Andrew Bartlett
2008-07-15 15:46:32 +10:00
parent a6b842f963
commit 0f1eea2672
3 changed files with 15 additions and 12 deletions

View File

@ -1300,9 +1300,6 @@ refint_attributes""" + refint_attributes + "\n"
"UUID": str(uuid.uuid4()),
"LDAPTIME": timestring(int(time.time()))} )
#"LDAPMANAGERDN": names.ldapmanagerdn,
mapping = "schema-map-openldap-2.3"
backend_schema = "backend-schema.schema"
@ -1323,7 +1320,12 @@ refint_attributes""" + refint_attributes + "\n"
message("Hostname: %s" % names.hostname)
message("DNS Domain: %s" % names.dnsdomain)
message("Base DN: %s" % names.domaindn)
message("LDAP admin DN: %s" % names.ldapmanagerdn)
if ldap_backend_type == "openldap":
message("LDAP admin user: samba-admin")
else:
message("LDAP admin DN: %s" % names.ldapmanagerdn)
message("LDAP admin password: %s" % adminpass)
message(slapdcommand)