summaryrefslogtreecommitdiff
path: root/source4/smb_server/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smb_server/session.c')
-rw-r--r--source4/smb_server/session.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/smb_server/session.c b/source4/smb_server/session.c
index 50bea16ee2..ba141f96ec 100644
--- a/source4/smb_server/session.c
+++ b/source4/smb_server/session.c
@@ -25,14 +25,15 @@
/****************************************************************************
-init the tcon structures
+init the session structures
****************************************************************************/
-void smbsrv_vuid_init(struct smbsrv_connection *smb_conn)
+NTSTATUS smbsrv_init_sessions(struct smbsrv_connection *smb_conn)
{
smb_conn->sessions.idtree_vuid = idr_init(smb_conn);
+ NT_STATUS_HAVE_NO_MEMORY(smb_conn->sessions.idtree_vuid);
+ return NT_STATUS_OK;
}
-
/****************************************************************************
Find the session structure assoicated with a VUID (not one from an in-progress session setup)
****************************************************************************/