summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorZack Kirsch <zack.kirsch@isilon.com>2009-04-22 23:30:55 +0000
committerTim Prouty <tprouty@samba.org>2009-09-24 11:19:00 -0700
commit5e9aade51657a22dba2c65ffc1aab1be7c532e61 (patch)
treea2c014aa779e909fa20f5481194f2e45636d44dc /source3/smbd
parentad96c11182db093fe41a4f6177580e70271574ea (diff)
downloadsamba-5e9aade51657a22dba2c65ffc1aab1be7c532e61.tar.gz
samba-5e9aade51657a22dba2c65ffc1aab1be7c532e61.tar.bz2
samba-5e9aade51657a22dba2c65ffc1aab1be7c532e61.zip
s3 onefs: Add some debugging/asserts to give more info when there is bad deferred open state.
Signed-off-by: Tim Prouty <tprouty@samba.org>
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/process.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index dd58ea88fa..ccb7f9dce3 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -1306,6 +1306,8 @@ static connection_struct *switch_message(uint8 type, struct smb_request *req, in
}
if (!change_to_user(conn,session_tag)) {
+ DEBUG(0, ("Error: Could not change to user. Removing "
+ "deferred open, mid=%d.\n", req->mid));
reply_nterror(req, NT_STATUS_DOS(ERRSRV, ERRbaduid));
remove_deferred_open_smb_message(req->mid);
return conn;