summaryrefslogtreecommitdiff
path: root/source3/smbd/smb2_sesssetup.c
diff options
context:
space:
mode:
authorGregor Beck <gbeck@sernet.de>2012-08-27 09:21:58 +0200
committerMichael Adam <obnox@samba.org>2012-10-19 12:14:59 +0200
commit02b9b79447be46835adf963cca14c618d0c435e6 (patch)
tree8298b03f008ff6cf7d1b15f510a0500450471168 /source3/smbd/smb2_sesssetup.c
parent4878769f8e6763fbb8347f2ea674c7a861d95564 (diff)
downloadsamba-02b9b79447be46835adf963cca14c618d0c435e6.tar.gz
samba-02b9b79447be46835adf963cca14c618d0c435e6.tar.bz2
samba-02b9b79447be46835adf963cca14c618d0c435e6.zip
s3:smbd: remove smbd_server_connection argument from session_claim()
retrieve the server connection from the smbXsrv_session argument instead. Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/smbd/smb2_sesssetup.c')
-rw-r--r--source3/smbd/smb2_sesssetup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_sesssetup.c b/source3/smbd/smb2_sesssetup.c
index 29253d0321..171021a258 100644
--- a/source3/smbd/smb2_sesssetup.c
+++ b/source3/smbd/smb2_sesssetup.c
@@ -330,7 +330,7 @@ static NTSTATUS smbd_smb2_auth_generic_return(struct smbXsrv_session *session,
register_homes_share(session_info->unix_info->unix_name);
}
- if (!session_claim(smb2req->sconn, session)) {
+ if (!session_claim(session)) {
DEBUG(1, ("smb2: Failed to claim session "
"for vuid=%llu\n",
(unsigned long long)session->compat->vuid));