mirror of
https://github.com/samba-team/samba.git
synced 2025-11-01 16:23:49 +03:00
r8677: The first part of the domain name may not be equal to the netbios domain name.
Remove the use of flatname from the main domain object, we no longer reference it. Andrew Bartlett
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
3a49626ae1
commit
2303e24be7
@@ -268,6 +268,7 @@ function provision_guess()
|
||||
var subobj = new Object();
|
||||
var nss = nss_init();
|
||||
var lp = loadparm_init();
|
||||
var rdn_list;
|
||||
random_init(local);
|
||||
|
||||
subobj.REALM = lp.get("realm");
|
||||
@@ -302,6 +303,8 @@ function provision_guess()
|
||||
strlower(subobj.HOSTNAME),
|
||||
subobj.DNSDOMAIN);
|
||||
subobj.BASEDN = "DC=" + join(",DC=", split(".", subobj.REALM));
|
||||
rdn_list = split(".", subobj.REALM);
|
||||
subobj.RDN_DC = rdn_list[0];
|
||||
return subobj;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user