Cannot get net ads join to work under Solaris 8

Andrew Bartlett abartlet at samba.org
Fri Nov 15 20:18:00 GMT 2002


On Sat, 2002-11-16 at 06:09, David Collier-Brown -- Customer Engineering
wrote:
> Andrew Bartlett wrote:
> > Well, it just means that we need to find a real replacement for
> > gmtime().  Any chance you could have a look at that function, and see if
> > you can figure out why the current replacement doesn't work?
> 
> 	Huh?  My Solaris box has gmtime and gmtime_r, the 
> 	reentrant variant. 
> 
> 	In principle, gmtime creates a struct tm, in
> 	Coordinated Universal Time (UTC), just as if
> 	you called localtime when machine was set to 
> 	GMT. 

Actually, we got confused - the function that Samba replaced, which I
suspected could be a problem is 'timegm'.  

Either way, there is a but in there somewhere, as it doesn't work for a
non-GMT timezone.

Andrew Bartlett

-- 
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
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20021115/3f7e6dab/attachment.bin


More information about the samba-technical mailing list