svn commit: samba r17831 - in branches/SAMBA_3_0/source: lib passdb

Jeremy Allison jra at samba.org
Fri Aug 25 16:03:31 GMT 2006


On Fri, Aug 25, 2006 at 10:34:35AM -0500, Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> vlendec at samba.org wrote:
> > Author: vlendec
> > Date: 2006-08-25 14:25:06 +0000 (Fri, 25 Aug 2006)
> > New Revision: 17831
> > 
> > WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17831
> > 
> > Log:
> > Attempt to fix the build farm: 0x7fffffffffffffff needs special 
> > casing too I think. This broke 'make test' because the
> > newly created user was set to be kicked off Mi, 22 Jan
> > 1975 23:55:33 CET (unix time 159663333) with the
> > setuserinfo21 call.
> > 
> > I'm not 100% sure that 0x7ff... means max time as I do it here, I vaguely
> > remember it to mean "don't touch".
> 
> That's what I remember as well.  It's the equivalent
> of time == -1.

In the old unix_to_nt_time() call, TIME_T_MAX was mapped to
0x7ffffffff 0xffffffff, but it wasn't done in the reverse
nt_time_to_unix() call. Hmmm. Looks right though.

Did this build test work with the older code, or is it a
new test ?

Jeremy.


More information about the samba-technical mailing list