Samba 3.0 Alpha 21 - TZ environment variable.
P Ranjit Kumar
ranjit at cup.hp.com
Fri Jan 10 22:04:02 GMT 2003
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.
Code Change:
in lib/replace.c
443a444,446
> #ifdef HPUX
> putenv("TZ=GMT");
> #else
444a448
> #endif
- Ranjit
HP CIFS Team
More information about the samba-technical
mailing list