[Samba] sambaLogonHours and timezones

Gerald (Jerry) Carter jerry at samba.org
Mon Oct 24 13:48:23 GMT 2005

Hash: SHA1

David Wilson wrote:
| Hi guys,
| Any ideas on this one ? I've really tried everything
| now from what I can see.

Sorry.  Thought I had replied already but apparently not.

|> The time on the server is set to localtime, the timezone
|> set to SAST (GMT+2) as are all the XP workstations.
|> The time on the server and workstations is correct.
|> Any ideas why my values are out by 2 hours each time ?

Samba does not manipulate the time value at all.  It just
returns the value to the client at logon time.  So unless
I'm missing something here in the code, the value must be
stored in the client's timezone.  So your comment about
users not being able to logon 2 hours before the logon
end time makes sense.

Granted this is a bad design if you have clients set
in different timezones.

cheers, jerry
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
"There's an anonymous coward in all of us."               --anonymous
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org


More information about the samba mailing list