Provision pach: make partitions only not erase others ldb

Matthieu Patou mat+Informatique.Samba at matws.net
Mon Mar 2 13:46:53 GMT 2009


On 03/02/2009 02:26 PM, Andrew Bartlett wrote:
> On Sun, 2009-03-01 at 20:31 +0300, Matthieu Patou wrote:
>    
>> Dear all,
>>
>> This is a proposal for making provision --partitions-only not wipping
>> out some tdb like secrets, idmap and templates.
>>
>> As far I understand using --partitions-only should only touch sam.ldb in
>> order to changes the partitions and/or the modules list and a few other
>> options.
>> Until now the provision --partitions-only wipeout secrets,idmap and
>> template before setting up the partitions and then returning.
>>
>> As it's one of my first patch chances are that it's won't be good
>> directly feel free to comment.
>>      
>
> The problem is, that option also has to work for the 'new LDAP dc' and
> 'new DRSUAPI dc' case too.  We probably need to restructure the options
> to make it clear what the administrator wants, and remove confusing
> names such as --partitions-only.
>
>    
Ready for your requirement.

Matthieu.



More information about the samba-technical mailing list