Univention Bugzilla – Attachment 5368 Details for
Bug 32227
Failing minimum password age check in Samba4 RC2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for S4 Connector function samba2s4_time
samba2s4_time.patch (text/plain), 646 bytes, created by
Arvid Requate
on 2013-08-13 17:17:18 CEST
(
hide
)
Description:
Patch for S4 Connector function samba2s4_time
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2013-08-13 17:17:18 CEST
Size:
646 bytes
patch
obsolete
>Active Directory times (at least pwdLastSet) is given in local time. > >Also s42samba_time(samba2s4_time(123456789)) must be 123456789 > > >Index: modules/univention/s4connector/s4/__init__.py >=================================================================== >--- modules/univention/s4connector/s4/__init__.py (Revision 43135) >+++ modules/univention/s4connector/s4/__init__.py (Arbeitskopie) >@@ -167,7 +167,7 @@ > > def samba2s4_time(l): > d=116444736000000000L #difference between 1601 and 1970 >- return long(time.mktime(time.gmtime(l+3600)))*10000000+d >+ return long(time.mktime(time.localtime(l)))*10000000+d > > def s42samba_time(l): > if l == 0:
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 32227
: 5368