CVS update: samba/source

Andrew Bartlett abartlet at pcug.org.au
Mon Aug 27 20:20:18 EST 2001


tridge at samba.org wrote:
> 
> Date:   Mon Aug 27 01:19:38 2001
> Author: tridge
> 
> Update of /home/cvs/samba/source
> In directory va:/tmp/cvs-serv14865
> 
> Modified Files:
>         Makefile.in
> Log Message:
> converted smbd to use NTSTATUS by default
> major changes include:
> 
> - added NSTATUS type
> - added automatic mapping between dos and nt error codes
> - changed all ERROR() calls to ERROR_DOS() and many to ERROR_NT()
>   these calls auto-translate to the client error code system
> - got rid of the cached error code and the writebmpx code
> 
> We eventually will need to also:
> - get rid of BOOL, so we don't lose error info
> - replace all ERROR_DOS() calls with ERROR_NT() calls
> 
> but that is too much for one night

Nice work.  One minor detail:  we need libsmb/errormap.c :-)

Other than that I really like it, its beginning to look like 3.0 will be
a major cleanup over the 2.2 series.

All the uint32 returns in the auth subsytem can be easily changed to
meet the new system, and the next installment of AuthRewrite will push
this onto the wire.

(This next installment was about to pass testing till sombody rocked the
boat ;-)

Thanks,
Andrew

-- 
Andrew Bartlett
abartlet at pcug.org.au
abartlet at samba.org




More information about the samba-cvs mailing list