mirror of
				https://github.com/samba-team/samba.git
				synced 2025-11-04 00:23:49 +03:00 
			
		
		
		
	r17824: add a wrapper for the common partitions_basedn calculation
This commit is contained in:
		
				
					committed by
					
						
						Gerald (Jerry) Carter
					
				
			
			
				
	
			
			
			
						parent
						
							a5ea749f0a
						
					
				
				
					commit
					09007b0907
				
			@@ -45,7 +45,7 @@ static NTSTATUS authsam_search_account(TALLOC_CTX *mem_ctx, struct ldb_context *
 | 
			
		||||
	struct ldb_message **msgs_tmp;
 | 
			
		||||
	struct ldb_message **msgs;
 | 
			
		||||
	struct ldb_message **msgs_domain_ref;
 | 
			
		||||
	const struct ldb_dn *partitions_basedn = ldb_dn_string_compose(mem_ctx, samdb_base_dn(mem_ctx), "CN=Partitions,CN=Configuration");
 | 
			
		||||
	const struct ldb_dn *partitions_basedn = samdb_partitions_dn(sam_ctx, mem_ctx);
 | 
			
		||||
 | 
			
		||||
	int ret;
 | 
			
		||||
	int ret_domain;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user