CVS update: samba/source/auth

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/auth
In directory va:/tmp/cvs-serv22161/auth

Modified Files:
	auth.c auth_builtin.c auth_domain.c auth_rhosts.c auth_sam.c 
	auth_server.c auth_unix.c auth_util.c auth_winbind.c 
Added Files:
	auth_compat.c 
Removed Files:
	auth_info.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:
auth_compat.c		NONE => 1.1
	http://www.samba.org/cgi-bin/cvsweb/samba/source/auth/auth_compat.c?rev=1.1
auth.c		1.27 => 1.28
	http://www.samba.org/cgi-bin/cvsweb/samba/source/auth/auth.c?r1=1.27&r2=1.28
auth_builtin.c		1.6 => 1.7
	http://www.samba.org/cgi-bin/cvsweb/samba/source/auth/auth_builtin.c?r1=1.6&r2=1.7
auth_domain.c		1.18 => 1.19
	http://www.samba.org/cgi-bin/cvsweb/samba/source/auth/auth_domain.c?r1=1.18&r2=1.19
auth_rhosts.c		1.13 => 1.14
	http://www.samba.org/cgi-bin/cvsweb/samba/source/auth/auth_rhosts.c?r1=1.13&r2=1.14
auth_sam.c		1.31 => 1.32
	http://www.samba.org/cgi-bin/cvsweb/samba/source/auth/auth_sam.c?r1=1.31&r2=1.32
auth_server.c		1.19 => 1.20
	http://www.samba.org/cgi-bin/cvsweb/samba/source/auth/auth_server.c?r1=1.19&r2=1.20
auth_unix.c		1.15 => 1.16
	http://www.samba.org/cgi-bin/cvsweb/samba/source/auth/auth_unix.c?r1=1.15&r2=1.16
auth_util.c		1.28 => 1.29
	http://www.samba.org/cgi-bin/cvsweb/samba/source/auth/auth_util.c?r1=1.28&r2=1.29
auth_winbind.c		1.3 => 1.4
	http://www.samba.org/cgi-bin/cvsweb/samba/source/auth/auth_winbind.c?r1=1.3&r2=1.4
auth_info.c		1.9 => NONE
	http://www.samba.org/cgi-bin/cvsweb/samba/source/auth/auth_info.c?rev=1.9




More information about the samba-cvs mailing list