1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-31 12:23:52 +03:00

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 commit is contained in:
Andrew Bartlett
2005-04-10 07:39:51 +00:00
committed by Gerald (Jerry) Carter
parent d7e6e395ce
commit 3e5775146d
4 changed files with 160 additions and 122 deletions

View File

@@ -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);