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:
		
				
					committed by
					
						 Gerald (Jerry) Carter
						Gerald (Jerry) Carter
					
				
			
			
				
	
			
			
			
						parent
						
							d7e6e395ce
						
					
				
				
					commit
					3e5775146d
				
			| @@ -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); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user