From 799724aae7f431ef721b15745a89f01b12b10d9c Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 18 Nov 2005 08:44:36 +0000 Subject: r11774: - move SMB specific initialisation of the smbsrv_connection out of smb_server.c - add a generic incoming packet handler, which handles the first incoming packet and passes to the protocol specifc packet handler metze (This used to be commit f89deac1cb8a7e5651116d96b9a94d5cc8293076) --- source4/smb_server/session.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'source4/smb_server/session.c') 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) ****************************************************************************/ -- cgit