diff options
author | Endi S. Dewata <edewata@redhat.com> | 2009-10-14 01:04:00 -0500 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-10-16 14:08:11 +0200 |
commit | aaca10b3e13d5a6119d7f47bc21bbf0cac3efb96 (patch) | |
tree | 9361f19746f2b7ced3527cff56c0b9f66d0292b5 /source4/scripting/python | |
parent | 6cb652e05c177377ba67b63d7d820f087cc05a46 (diff) | |
download | samba-aaca10b3e13d5a6119d7f47bc21bbf0cac3efb96.tar.gz samba-aaca10b3e13d5a6119d7f47bc21bbf0cac3efb96.tar.bz2 samba-aaca10b3e13d5a6119d7f47bc21bbf0cac3efb96.zip |
s4:provision - fixed invalid creationTime format
Diffstat (limited to 'source4/scripting/python')
-rw-r--r-- | 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 a7a50caba6..fdf1fe9e61 100644 --- a/source4/scripting/python/samba/provision.py +++ b/source4/scripting/python/samba/provision.py @@ -1037,7 +1037,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, @@ -1104,7 +1104,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, |