mirror of
				https://github.com/samba-team/samba.git
				synced 2025-10-31 12:23:52 +03:00 
			
		
		
		
	r17330: Enable the partitions module.
This module redirects various samdb requests into different modules,
depending on the prefix.  It also makes moving to an LDAP backend
easier, as it is just a different partition backend.
This adds yet another stage to the provision process, as we must setup
the partitions before we setup the magic attributes.
Andrew Bartlett
(This used to be commit 31225b9cb6)
			
			
This commit is contained in:
		
				
					committed by
					
						 Gerald (Jerry) Carter
						Gerald (Jerry) Carter
					
				
			
			
				
	
			
			
			
						parent
						
							331ad9e7b8
						
					
				
				
					commit
					7b99b2048e
				
			| @@ -479,8 +479,11 @@ function provision(subobj, message, blank, paths, session_info, credentials) | ||||
| 	message("Setting up hklm.ldb\n"); | ||||
| 	setup_ldb("hklm.ldif", info, paths.hklm); | ||||
|  | ||||
| 	message("Setting up sam.ldb partitions\n"); | ||||
| 	setup_ldb("provision_partitions.ldif", info, paths.samdb); | ||||
|  | ||||
| 	message("Setting up sam.ldb attributes\n"); | ||||
| 	setup_ldb("provision_init.ldif", info, paths.samdb); | ||||
| 	setup_ldb("provision_init.ldif", info, paths.samdb, NULL, false); | ||||
| 	message("Erasing data from partitions\n"); | ||||
| 	ldb_erase_partitions(info, paths.samdb); | ||||
| 	 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user