[SOLVED!!!] Re: Problems with 2.0.0alpha and NT domains

Jeremy Allison jallison at cthulhu.engr.sgi.com
Mon Sep 28 17:42:26 GMT 1998


Luke Kenneth Casson Leighton wrote:
> 
> > The only messages in my log file are those "TODO: convert unix times
> > to NTTIMEs" and "smbd/nttrans.c:call_nt_transact_ioctl(1268) not
> > implemented":
> 
> well, interpret_nt_time() is just a call to interpret_long_date(), so if
> there's a reverse function for interpret_long_date() - put_long_date()? -
> then it's done.
> 

put_long_date() in lib/time.c

Please bear in mind that time_t can be a *signed*
datatype on some systems - so if you were going to
convert the 0xFFFFFFFF values you are using at
present to just using (time_t)-1 this will set 
a *very* strange date :-).

Jeremy.

-- 
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------


More information about the samba-ntdom mailing list