CVS update: samba/source/rpc_server
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/rpc_server
In directory va:/tmp/cvs-serv22161/rpc_server
Modified Files:
srv_netlog_nt.c srv_pipe.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:
srv_netlog_nt.c 1.44 => 1.45
http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_server/srv_netlog_nt.c?r1=1.44&r2=1.45
srv_pipe.c 1.88 => 1.89
http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_server/srv_pipe.c?r1=1.88&r2=1.89
More information about the samba-cvs
mailing list