From 20841a25ad2a45ec920d9ad41f1279cbe2aa196f Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 10 Apr 2005 07:39:51 +0000 Subject: r6270: Move the VUID handling to a IDR tree. This should avoid O(n) behaviour on session setups, and because we no longer need do deal with the linked list as much, the code is much simpiler too. We may be able to compleatly remove the tid and vuid linked lists, but I need to check. This patch also tries to clean up the VUID handling and session setups in general. To avoid security issues, we now have a distinction between VUIDs allocated for the session setup (to tie togeather the multiple round trips) and those used after authentication. Andrew Bartlett (This used to be commit 3e5775146d9ce6f0ac43aecae7e899b5324399ad) --- source4/smb_server/smb_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/smb_server/smb_server.c') diff --git a/source4/smb_server/smb_server.c b/source4/smb_server/smb_server.c index 11fe965a92..6261621886 100644 --- a/source4/smb_server/smb_server.c +++ b/source4/smb_server/smb_server.c @@ -737,7 +737,7 @@ static void smbsrv_accept(struct stream_connection *conn) smb_conn->negotiate.zone_offset = get_time_zone(time(NULL)); - smb_conn->sessions.next_vuid = VUID_OFFSET; + smbsrv_vuid_init(smb_conn); srv_init_signing(smb_conn); -- cgit