[PATCH] : script to rebuild extended DN attributes

Matthieu Patou mat+Informatique.Samba at matws.net
Tue Sep 8 01:18:58 MDT 2009


On 09/08/2009 10:56 AM, Andrew Bartlett wrote:
> On Tue, 2009-09-08 at 10:50 +0400, Matthieu Patou wrote:
>    
>> Hello,
>>
>> This is a reviewed and corrected version of the script that (re)build
>> extended DNs.
>>
>> This version use the python bindings instead of LDIF because now
>> replacing attributes works ...
>> It also use the control search_options to go into the whole provision
>> without the need to specify each partitions.
>>
>>
>> Let me know ...
>>      
> It's looking good.  A version of this that handles forward links only
> (but not backlinks, or cases where the extended DN is present) belongs
> at the end of our provision.
>
>    
As far as I remember LDB is not very happy when you are trying to edit 
backlinks. But I'm not even sure I understand your remarks here ...
> I still don't know what the modify_modules stuff is doing in there
> however.  Shouldn't that be replaced by doing a provision
> --partitions-only to fix up the module list (etc)?
>    
Maybe a good solution but not so long time ago provision 
--partitions-only used to smashed secrets.ldb is it still the case ?

Matthieu.


More information about the samba-technical mailing list