mirror of
				https://github.com/samba-team/samba.git
				synced 2025-10-30 08:23:49 +03:00 
			
		
		
		
	r1925: now we lookup the domain controller
and fallback to a workstation name metze
This commit is contained in:
		
				
					committed by
					
						 Gerald (Jerry) Carter
						Gerald (Jerry) Carter
					
				
			
			
				
	
			
			
			
						parent
						
							5d9b5a2e58
						
					
				
				
					commit
					2012d90f26
				
			| @@ -32,6 +32,26 @@ struct libnet_context { | ||||
| 	} user; | ||||
| }; | ||||
|  | ||||
| /* struct and enum for finding a domain controller */ | ||||
| enum libnet_find_pdc_level { | ||||
| 	LIBNET_FIND_PDC_GENERIC | ||||
| }; | ||||
|  | ||||
| union libnet_find_pdc { | ||||
| 	/* find to a domains PDC */ | ||||
| 	struct { | ||||
| 		enum libnet_find_pdc_level level; | ||||
|  | ||||
| 		struct { | ||||
| 			const char *domain_name; | ||||
| 		} in; | ||||
|  | ||||
| 		struct	{ | ||||
| 			const char *pdc_name; | ||||
| 		} out; | ||||
| 	} generic; | ||||
| }; | ||||
|  | ||||
| /* struct and enum for connecting to a dcerpc inferface */ | ||||
| enum libnet_rpc_connect_level { | ||||
| 	LIBNET_RPC_CONNECT_PDC | ||||
|   | ||||
		Reference in New Issue
	
	Block a user