mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
r23875: As pointed out by mwallnoefer@yahoo.de:
On default Active Directory installations, the NETLOGON share isn't
an indipendent directory. In fact it's mapped to the subdirectory
"scripts" from the share SYSVOL under <Domain name>.
Andrew Bartlett
(This used to be commit 923d67ea9d
)
This commit is contained in:
parent
803335b0db
commit
d9a5e18ce0
@ -390,18 +390,18 @@ function provision_default_paths(subobj)
|
|||||||
paths.ldap_config_basedn_ldif = paths.ldapdir + "/" + subobj.DNSDOMAIN + "-config.ldif";
|
paths.ldap_config_basedn_ldif = paths.ldapdir + "/" + subobj.DNSDOMAIN + "-config.ldif";
|
||||||
paths.ldap_schema_basedn_ldif = paths.ldapdir + "/" + subobj.DNSDOMAIN + "-schema.ldif";
|
paths.ldap_schema_basedn_ldif = paths.ldapdir + "/" + subobj.DNSDOMAIN + "-schema.ldif";
|
||||||
|
|
||||||
paths.netlogon = lp.get("netlogon", "path");
|
|
||||||
|
|
||||||
if (paths.netlogon == undefined) {
|
|
||||||
paths.netlogon = lp.get("lock dir") + "/netlogon";
|
|
||||||
}
|
|
||||||
|
|
||||||
paths.sysvol = lp.get("sysvol", "path");
|
paths.sysvol = lp.get("sysvol", "path");
|
||||||
|
|
||||||
if (paths.sysvol == undefined) {
|
if (paths.sysvol == undefined) {
|
||||||
paths.sysvol = lp.get("lock dir") + "/sysvol";
|
paths.sysvol = lp.get("lock dir") + "/sysvol";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
paths.netlogon = lp.get("netlogon", "path");
|
||||||
|
|
||||||
|
if (paths.netlogon == undefined) {
|
||||||
|
paths.netlogon = paths.sysvol + "/" + subobj.DNSDOMAIN + "/scripts";
|
||||||
|
}
|
||||||
|
|
||||||
return paths;
|
return paths;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user