CVS update: samba/source
Jeremy Allison
jra at samba.anu.edu.au
Wed May 6 10:22:09 EST 1998
Date: Wednesday May 6, 1998 @ 10:22
Author: jra
Update of /data/cvs/samba/source
In directory samba:/tmp/cvs-serv27007
Modified Files:
Tag: BRANCH_1_9_18
ipc.c message.c password.c printing.c proto.h reply.c server.c
smb.h uid.c
Log Message:
Fixes for the %U and %G problems people have reported.
Essentially, multiple session_setup_and_X's may be done
to an smbd. As there is only one global variable containing
the requested connection name (sessionsetup_user), then any
subsequent sessionsetups overwrite this name (causing %U
and %G to get the wrong name). This is particularly common
when an NT client does a null session setup to get a
browse list after the user has connected, but before
a share has been mounted.
These changes store the requested_name in the vuid structure
(so this only really works for user level and above security)
and copies this name back into the global variable before
the standard_sub call.
Jeremy.
More information about the samba-cvs
mailing list