Samba 3.0 Alpha 21 - TZ environment variable.
abartlet at samba.org
Fri Jan 10 22:32:01 GMT 2003
On Sat, 2003-01-11 at 09:14, jra at dp.samba.org wrote:
> On Fri, Jan 10, 2003 at 02:04:12PM -0800, P Ranjit Kumar wrote:
> > Hi
> > Samba 3.0 Alpha21 tries to emulate the timegm() call. When it does that, it
> > sets the TZ="" before it invokes the mktime() call. However, on HP-UX,
> > setting TZ="" makes the timezone to be EST but what we want is GMT for
> > time_t computation. This results in Samba failing to a join a domain.
> Adding platform specific code (like #ifdef HPUX) isn't something we
> want to move towards. Does HPUX not have timegm ? If not, can you
> work out a feature test patch that fixes it for HPUX rather than
> a platform specific one ?
Tridge's timegm() replacement doesn't use TZ any more, and has been
merged into Samba 3.0, for the next alpha.
Andrew Bartlett abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20030110/88ced8c7/attachment.bin
More information about the samba-technical