diff options
Diffstat (limited to 'source4/setup')
-rwxr-xr-x | source4/setup/provision | 6 | ||||
-rw-r--r-- | source4/setup/provision_partitions.ldif | 5 |
2 files changed, 10 insertions, 1 deletions
diff --git a/source4/setup/provision b/source4/setup/provision index a58f4a5dce..4d4716ee1a 100755 --- a/source4/setup/provision +++ b/source4/setup/provision @@ -111,6 +111,12 @@ for (r in options) { subobj[key] = options[r]; } +if (options["ldap-backend"] != undefined) { + subobj["LDAPMODULES"] = "entryUUID"; +} else { + subobj["LDAPMODULES"] = "objectguid"; +} + var blank = (options["blank"] != undefined); var ldapbase = (options["ldap-base"] != undefined); diff --git a/source4/setup/provision_partitions.ldif b/source4/setup/provision_partitions.ldif index 14e077eca1..e9a273795a 100644 --- a/source4/setup/provision_partitions.ldif +++ b/source4/setup/provision_partitions.ldif @@ -5,6 +5,9 @@ partition: ${BASEDN}:${LDAPBACKEND} replicateEntries: @SUBCLASSES replicateEntries: @ATTRIBUTES replicateEntries: @INDEXLIST +modules:CN=Schema,CN=Configuration,${BASEDN}:objectguid +modules:CN=Configuration,${BASEDN}:objectguid +modules:${BASEDN}:${LDAPMODULES} #Add modules to the list to activate them by default #beware often order is important @@ -15,4 +18,4 @@ replicateEntries: @INDEXLIST # - partition must be last dn: @MODULES -@LIST: rootdse,kludge_acl,paged_results,server_sort,extended_dn,asq,samldb,objectguid,password_hash,operational,objectclass,rdn_name,partition +@LIST: rootdse,kludge_acl,paged_results,server_sort,extended_dn,asq,samldb,password_hash,operational,objectclass,rdn_name,partition |