summaryrefslogtreecommitdiffstats
path: root/source3/smbd/password.c
diff options
context:
space:
mode:
authorGregor Beck <gbeck@sernet.de>2012-08-23 14:47:33 +0200
committerMichael Adam <obnox@samba.org>2012-10-19 12:14:59 +0200
commit4878769f8e6763fbb8347f2ea674c7a861d95564 (patch)
tree4561d7c93c74a0c06bb0221f835538a4cd681ebe /source3/smbd/password.c
parent77f99ece482a11aad50219e64d231b27dbbccbba (diff)
downloadsamba-4878769f8e6763fbb8347f2ea674c7a861d95564.tar.gz
samba-4878769f8e6763fbb8347f2ea674c7a861d95564.tar.xz
samba-4878769f8e6763fbb8347f2ea674c7a861d95564.zip
s3:smbd: pass smbXsrv_session instead of user_struct to session_claim() and session_yield()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/smbd/password.c')
-rw-r--r--source3/smbd/password.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 60ab045283..3a64d1b138 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -105,7 +105,7 @@ void invalidate_vuid(struct smbd_server_connection *sconn, uint64_t vuid)
return;
}
- session_yield(vuser);
+ session_yield(vuser->session);
DLIST_REMOVE(sconn->users, vuser);
SMB_ASSERT(sconn->num_users > 0);