[SCM] Samba Shared Repository - branch master updated

Andrew Bartlett abartlet at samba.org
Thu Sep 8 17:54:02 MDT 2011


The branch, master has been updated
       via  b8aa4e5 s4-s3-upgrade do not convert min password length as a time
      from  e30b8c7 Second part of fix for bug #8443 - Default user entry is set to minimal permissions on incoming ACL change with no user specified.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit b8aa4e513cc205b04dadf5f6d1ce3d937b427574
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Fri Sep 9 07:31:42 2011 +1000

    s4-s3-upgrade do not convert min password length as a time
    
    Autobuild-User: Andrew Bartlett <abartlet at samba.org>
    Autobuild-Date: Fri Sep  9 01:53:55 CEST 2011 on sn-devel-104

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

Summary of changes:
 source4/scripting/python/samba/upgrade.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/scripting/python/samba/upgrade.py b/source4/scripting/python/samba/upgrade.py
index 92ab86b..8157b45 100644
--- a/source4/scripting/python/samba/upgrade.py
+++ b/source4/scripting/python/samba/upgrade.py
@@ -53,7 +53,7 @@ def import_sam_policy(samdb, policy, logger):
 
     m = ldb.Message()
     m.dn = samdb.get_default_basedn()
-    m['a01'] = ldb.MessageElement(str(unix2nttime(policy['min password length'])), ldb.FLAG_MOD_REPLACE,
+    m['a01'] = ldb.MessageElement(str(policy['min password length']), ldb.FLAG_MOD_REPLACE,
                             'minPwdLength')
     m['a02'] = ldb.MessageElement(str(policy['password history']), ldb.FLAG_MOD_REPLACE,
                             'pwdHistoryLength')


-- 
Samba Shared Repository


More information about the samba-cvs mailing list