The branch, master has been updated via 37866df s3:smbd: use reply_force_doserror(req, ERRSRV, ERRbaduid) on SMBulogoff from 42b2026 Second part of fix for bug 8953 - winbind can hang as nbt_getdc() has no timeout.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 37866df4ee51e2bf62d26be9d87a22d94106a95a Author: Stefan Metzmacher <me...@samba.org> Date: Thu May 3 15:52:41 2012 +0200 s3:smbd: use reply_force_doserror(req, ERRSRV, ERRbaduid) on SMBulogoff We don't support security = share anymore, so we should always have a valid session. Found by the raw.context test. metze Autobuild-User: Stefan Metzmacher <me...@samba.org> Autobuild-Date: Wed May 23 12:47:37 CEST 2012 on sn-devel-104 ----------------------------------------------------------------------- Summary of changes: source3/smbd/reply.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index b93052a..d01ff90 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -2085,6 +2085,11 @@ void reply_ulogoffX(struct smb_request *req) if(vuser == NULL) { DEBUG(3,("ulogoff, vuser id %d does not map to user.\n", req->vuid)); + + req->vuid = UID_FIELD_INVALID; + reply_force_doserror(req, ERRSRV, ERRbaduid); + END_PROFILE(SMBulogoffX); + return; } /* in user level security we are supposed to close any files -- Samba Shared Repository