diff options
author | Samba Release Account <samba-bugs@samba.org> | 1996-10-23 19:12:47 +0000 |
---|---|---|
committer | Samba Release Account <samba-bugs@samba.org> | 1996-10-23 19:12:47 +0000 |
commit | dc0d4d2efbd27c8acac9d8a87248a0ee07003acc (patch) | |
tree | 437f2dc1d251f65251208e88dcfb88e81c4f4244 | |
parent | 7ccb388e3fb89cd6200d12c2c2edb9ea90e01074 (diff) | |
download | samba-dc0d4d2efbd27c8acac9d8a87248a0ee07003acc.tar.gz samba-dc0d4d2efbd27c8acac9d8a87248a0ee07003acc.tar.bz2 samba-dc0d4d2efbd27c8acac9d8a87248a0ee07003acc.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.
(This used to be commit c65a2cdd830bcda396ad6a0bd51a9b80c9d26a67)
-rw-r--r-- | source3/smbd/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 2dc78e0176..c5a7a7ca02 100644 --- a/source3/smbd/server.c +++ b/source3/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}, |