Univention Bugzilla – Attachment 2395 Details for
Bug 18271
Benutzer mit Ablaufdatum werden nicht synchronisiert
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Korrigiert die Zeitstempelkonvertierung von Unix nach AD
fix_unix2ad_time.patch (text/plain), 697 bytes, created by
Andreas Büsching
on 2010-04-29 08:47:33 CEST
(
hide
)
Description:
Korrigiert die Zeitstempelkonvertierung von Unix nach AD
Filename:
MIME Type:
Creator:
Andreas Büsching
Created:
2010-04-29 08:47:33 CEST
Size:
697 bytes
patch
obsolete
>Index: modules/univention/connector/ad/__init__.py >=================================================================== >--- modules/univention/connector/ad/__init__.py (Revision 16593) >+++ modules/univention/connector/ad/__init__.py (Arbeitskopie) >@@ -121,7 +121,7 @@ > > def unix2ad_time(l): > d=116444736000000000L #difference between 1601 and 1970 >- return long(time.mktime(time.gmtime(time.mktime(time.strptime(l,"%d.%m.%y"))+90000)))*10000000+d # 90000s are one day and one hour >+ return long(time.mktime(time.gmtime(time.mktime(time.strptime(l,"%Y-%m-%d"))+90000)))*10000000+d # 90000s are one day and one hour > > def ad2unix_time(l): > d=116444736000000000L #difference between 1601 and 1970
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 18271
: 2395 |
2849