CVS update: samba/source/smbd
abartlet at samba.org
abartlet at samba.org
Sat Jan 5 15:55:41 EST 2002
Date: Fri Jan 4 20:55:41 2002
Author: abartlet
Update of /data/cvs/samba/source/smbd
In directory va:/tmp/cvs-serv22161/smbd
Modified Files:
negprot.c process.c server.c sesssetup.c
Log Message:
I've decided to move the auth code around a bit more...
The auth_authsupplied_info typedef is now just a plain struct - auth_context,
but it has been modified to contain the function pointers to the rest
of the auth subsystem's components.
(Who needs non-static functions anyway?)
In working all this mess out, I fixed a number of memory leaks and moved the
entire auth subsystem over to talloc().
Note that the TALLOC_CTX attached to the auth_context can be rather long-lived,
it is provided for things that are intended to live as long. (The
global_negprot_auth_context lasts the whole life of the smbd).
I've also adjusted a few things in auth_domain.c, mainly passing the domain as
a paramater to a few functions instead of looking up lp_workgroup(). I'm
hopign to make this entire thing a bit more trusted domains (as PDC) freindly
in the near future.
Other than that, I moved a bit of the code around, hence the rather messy diff.
Andrew Bartlett
Revisions:
negprot.c 1.53 => 1.54
http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/negprot.c?r1=1.53&r2=1.54
process.c 1.83 => 1.84
http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/process.c?r1=1.83&r2=1.84
server.c 1.352 => 1.353
http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/server.c?r1=1.352&r2=1.353
sesssetup.c 1.42 => 1.43
http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/sesssetup.c?r1=1.42&r2=1.43
More information about the samba-cvs
mailing list