1
0
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 commit is contained in:
Andrew Bartlett 2007-07-14 00:12:25 +00:00 committed by Gerald (Jerry) Carter
parent 6c95eabac6
commit 923d67ea9d

View File

@ -390,18 +390,18 @@ function provision_default_paths(subobj)
paths.ldap_config_basedn_ldif = paths.ldapdir + "/" + subobj.DNSDOMAIN + "-config.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");
if (paths.sysvol == undefined) {
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;
}