r6270: Move the VUID handling to a IDR tree. This should avoid O(n)
authorAndrew Bartlett <abartlet@samba.org>
Sun, 10 Apr 2005 07:39:51 +0000 (07:39 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:11:29 +0000 (13:11 -0500)
commit20841a25ad2a45ec920d9ad41f1279cbe2aa196f
tree4ec67292599ded688f0c370745e206c155ef0c5b
parentce7eb419307de28b6a674948a70960a39e0c38f8
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/password.c
source4/smb_server/sesssetup.c
source4/smb_server/smb_server.c
source4/smb_server/smb_server.h