mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
r12252: With this change (hack) we can now do an provision onto Samba4's LDAP
server. Now to try another one... Andrew Bartlett
This commit is contained in:
parent
58285115c8
commit
175f616d74
@ -160,6 +160,9 @@ function ldb_erase(ldb)
|
||||
for (i=0;i<res.length;i++) {
|
||||
ldb.del(res[i].dn);
|
||||
}
|
||||
/* extra hack to ensure it's gone on remote ldap */
|
||||
ldb.del("cn=ROOTDSE");
|
||||
|
||||
var res = ldb.search("(&(|(objectclass=*)(dn=*))(!(dn=@BASEINFO)))", attrs);
|
||||
if (res.length != 0) {
|
||||
ldb_delete(ldb);
|
||||
@ -237,7 +240,7 @@ function provision_default_paths(subobj)
|
||||
paths.hku = "hku.ldb";
|
||||
paths.hkpd = "hkpd.ldb";
|
||||
paths.hkpt = "hkpt.ldb";
|
||||
paths.samdb = "sam.ldb";
|
||||
paths.samdb = lp.get("sam database");
|
||||
paths.secrets = "secrets.ldb";
|
||||
paths.dns = lp.get("private dir") + "/" + subobj.DNSDOMAIN + ".zone";
|
||||
paths.winsdb = "wins.ldb";
|
||||
|
Loading…
Reference in New Issue
Block a user