From dc0d4d2efbd27c8acac9d8a87248a0ee07003acc Mon Sep 17 00:00:00 2001 From: Samba Release Account Date: Wed, 23 Oct 1996 19:12:47 +0000 Subject: Jeremy 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) --- source3/smbd/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd') diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 2dc78e0176b..c5a7a7ca02b 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}, -- cgit