[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha2-1366-g19c29f4

Kai Blin kai at samba.org
Thu Mar 27 16:51:24 GMT 2008


The branch, v4-0-test has been updated
       via  19c29f473883be0a17fa740de9feb226f347df4a (commit)
      from  4ae4692bc6c6da15483a6f4a3363cdc23121efc7 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -----------------------------------------------------------------
commit 19c29f473883be0a17fa740de9feb226f347df4a
Author: Kai Blin <kai at samba.org>
Date:   Thu Mar 27 17:49:56 2008 +0100

    provision: Initialize uninitialized variables if "targetdir" is not
    defined and there is no smb.conf file

-----------------------------------------------------------------------

Summary of changes:
 source/scripting/python/samba/provision.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/scripting/python/samba/provision.py b/source/scripting/python/samba/provision.py
index 47d00f8..e97ce69 100644
--- a/source/scripting/python/samba/provision.py
+++ b/source/scripting/python/samba/provision.py
@@ -373,7 +373,10 @@ def load_or_make_smbconf(smbconf, setup_path, hostname, domain, realm, serverrol
             lockdir_line = "lock dir = " + os.path.abspath(targetdir)
 
             default_lp.set("lock dir", os.path.abspath(targetdir))
-            
+        else:
+	    privatedir_line = "private_dir = " + default_lp.get("private dir")
+	    lockdir_line = "lock dir = " + default_lp.get("lock dir")
+
         sysvol = os.path.join(default_lp.get("lock dir"), "sysvol")
         netlogon = os.path.join(sysvol, realm.lower(), "scripts")
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list