1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

Make a seperate template for the refint configuration too

(This used to be commit d2a527acc5)
This commit is contained in:
Andrew Bartlett
2008-07-18 18:58:56 +10:00
parent cfc2063f23
commit 3408a2d18f
3 changed files with 9 additions and 3 deletions

View File

@ -1264,8 +1264,8 @@ def provision_backend(setup_dir=None, message=None,
{ "MEMBER_ATTR" : str(res[i]["lDAPDisplayName"][0]),
"MEMBEROF_ATTR" : str(target) })
memberof_config += """overlay refint
refint_attributes""" + refint_attributes
refint_config = read_and_sub_file(setup_path("refint.conf"),
{ "LINK_ATTRS" : refint_attributes})
setup_file(setup_path("slapd.conf"), paths.slapdconf,
{"DNSDOMAIN": names.dnsdomain,
@ -1273,7 +1273,8 @@ refint_attributes""" + refint_attributes
"DOMAINDN": names.domaindn,
"CONFIGDN": names.configdn,
"SCHEMADN": names.schemadn,
"MEMBEROF_CONFIG": memberof_config})
"MEMBEROF_CONFIG": memberof_config,
"REFINT_CONFIG": refint_config})
setup_file(setup_path("modules.conf"), paths.modulesconf,
{"REALM": names.realm})