[PATCH] s4:provision - fixed invalid creationTime format
Endi S. Dewata
edewata at redhat.com
Wed Oct 14 00:04:00 MDT 2009
---
source4/scripting/python/samba/provision.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/source4/scripting/python/samba/provision.py b/source4/scripting/python/samba/provision.py
index aff7473..e298756 100644
--- a/source4/scripting/python/samba/provision.py
+++ b/source4/scripting/python/samba/provision.py
@@ -1043,7 +1043,7 @@ def setup_samdb(path, setup_path, session_info, credentials, lp,
setup_modify_ldif(samdb, setup_path("provision_basedn_modify.ldif"), {
- "CREATTIME": str(int(time.time()) * 1e7), # seconds -> ticks
+ "CREATTIME": str(int(time.time() * 1e7)), # seconds -> ticks
"DOMAINSID": str(domainsid),
"SCHEMADN": names.schemadn,
"NETBIOSNAME": names.netbiosname,
@@ -1110,7 +1110,7 @@ def setup_samdb(path, setup_path, session_info, credentials, lp,
"DOMAINDN": names.domaindn})
message("Setting up sam.ldb data")
setup_add_ldif(samdb, setup_path("provision.ldif"), {
- "CREATTIME": str(int(time.time()) * 1e7), # seconds -> ticks
+ "CREATTIME": str(int(time.time() * 1e7)), # seconds -> ticks
"DOMAINDN": names.domaindn,
"NETBIOSNAME": names.netbiosname,
"DEFAULTSITE": names.sitename,
--
1.6.0.6
------=_Part_8793_988388400.1255556019351
Content-Type: text/x-patch;
name=0005-s4-dsdb-don-t-check-for-possible-inferiors-when-sc.patch
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename=0005-s4-dsdb-don-t-check-for-possible-inferiors-when-sc.patch
More information about the samba-technical
mailing list