summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1996-10-23 19:12:47 +0000
committerSamba Release Account <samba-bugs@samba.org>1996-10-23 19:12:47 +0000
commitc65a2cdd830bcda396ad6a0bd51a9b80c9d26a67 (patch)
tree9478fb1dc80d99283ba48b92de68eef791e16437
parent09588edfec5ea29728a0166aaa109562cf3f1eca (diff)
downloadsamba-c65a2cdd830bcda396ad6a0bd51a9b80c9d26a67.tar.gz
samba-c65a2cdd830bcda396ad6a0bd51a9b80c9d26a67.tar.xz
samba-c65a2cdd830bcda396ad6a0bd51a9b80c9d26a67.zip
Jeremy <jra@cygnus.com>
Removed AS_USER requirement for SMBulogoff. A valid TID (cnum) is not given for this call, which become_user needs if it is not to return an error. This fixes a specific case with NT4.0 which stops users attaching to a Samba server using a different account to the one they are logged in under.
-rw-r--r--source/smbd/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/server.c b/source/smbd/server.c
index 2dc78e0176b..c5a7a7ca02b 100644
--- a/source/smbd/server.c
+++ b/source/smbd/server.c
@@ -2975,7 +2975,7 @@ struct smb_message_struct
{SMBecho,"SMBecho",reply_echo,0},
{SMBsesssetupX,"SMBsesssetupX",reply_sesssetup_and_X,0},
{SMBtconX,"SMBtconX",reply_tcon_and_X,0},
- {SMBulogoffX, "SMBulogoffX", reply_ulogoffX, AS_USER},
+ {SMBulogoffX, "SMBulogoffX", reply_ulogoffX, 0}, /* ulogoff doesn't give a valid TID */
{SMBgetatr,"SMBgetatr",reply_getatr,AS_USER},
{SMBsetatr,"SMBsetatr",reply_setatr,AS_USER | NEED_WRITE},
{SMBchkpth,"SMBchkpth",reply_chkpth,AS_USER},