1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-08 16:23:49 +03:00

r11222: Small provision fixes: canonicalName is now generated, and the DC=

list should be from the dnsdomain (ie lowercae).

Andrew Bartlett
This commit is contained in:
Andrew Bartlett
2005-10-20 11:19:03 +00:00
committed by Gerald (Jerry) Carter
parent 629595f27c
commit 10d692a1c2
2 changed files with 1 additions and 2 deletions

View File

@@ -340,7 +340,7 @@ function provision_guess()
subobj.DNSNAME = sprintf("%s.%s",
strlower(subobj.HOSTNAME),
subobj.DNSDOMAIN);
rdn_list = split(".", subobj.REALM);
rdn_list = split(".", subobj.DNSDOMAIN);
subobj.BASEDN = "DC=" + join(",DC=", rdn_list);
return subobj;
}