s4:provision: place the sysvol share under "state dir" instead of "lock dir"
authorStefan Metzmacher <metze@samba.org>
Tue, 12 Jul 2011 11:49:18 +0000 (13:49 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 12 Jul 2011 12:58:38 +0000 (14:58 +0200)
metze

source4/scripting/python/samba/provision/__init__.py

index b20e58477638675ab26c4975aad67cafa6478c32..71979406b23cb07eec3151a6e516f2b9f827fc96 100644 (file)
@@ -726,7 +726,7 @@ def make_smbconf(smbconf, hostname, domain, realm, serverrole,
         statedir_line = ""
         cachedir_line = ""
 
-    sysvol = os.path.join(lp.get("lock dir"), "sysvol")
+    sysvol = os.path.join(lp.get("state dir"), "sysvol")
     netlogon = os.path.join(sysvol, realm.lower(), "scripts")
 
     setup_file(setup_path("provision.smb.conf.%s" % smbconfsuffix),