CVS update: samba/source/smbd

abartlet at samba.org abartlet at samba.org
Fri Nov 9 09:19:01 EST 2001


Date:	Thu Nov  8 14:19:01 2001
Author:	abartlet

Update of /data/cvs/samba/source/smbd
In directory va:/tmp/cvs-serv14861/smbd

Modified Files:
	auth.c auth_util.c password.c reply.c session.c sesssetup.c 
Log Message:
Change to guest logon code.

This changes the way we process guest logons - we now treat them as normal
logons, but set the 'guest' flag.  In particular this is needed becouse Win2k
will do an NTLMSSP login with username "", therefore missing our previous guest
connection code - this is getting a pain to do as a special case all over the
shop.

Tridge:  We don't seem to be setting a guest bit for NTLMSSP, in either the
anonymous or authenticated case, can you take a look at this?

Also some cleanups in the check_password() code that should make some of the
debugs clearer.

Various other minor cleanups:

 - change the session code to just take a vuser, rather than having to do a
   vuid lookup on vuser.vuid

 - Change some of the global_client_caps linking

 - Better debug in authorise_login(): show the vuid.

Andrew Bartlett



Revisions:
auth.c		1.17 => 1.18
	http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/auth.c?r1=1.17&r2=1.18
auth_util.c		1.11 => 1.12
	http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/auth_util.c?r1=1.11&r2=1.12
password.c		1.239 => 1.240
	http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/password.c?r1=1.239&r2=1.240
reply.c		1.353 => 1.354
	http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/reply.c?r1=1.353&r2=1.354
session.c		1.14 => 1.15
	http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/session.c?r1=1.14&r2=1.15
sesssetup.c		1.18 => 1.19
	http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/sesssetup.c?r1=1.18&r2=1.19




More information about the samba-cvs mailing list