[Samba] ldbrename does not rename container users CN=Deleted Objects

Rowland Penny rpenny at samba.org
Wed May 3 10:30:39 UTC 2023



On 03/05/2023 11:01, Rowland Penny via samba wrote:
> 
> 
> On 03/05/2023 09:50, Stefan Kania via samba wrote:
>> It had been working up to Samba 4.8 and with the recyclebin active you 
>> could restore every attributre, but since 4.9 it's not working anymore
>>
>>
> 
> Are you sure it ever worked ?
> 
> I cannot remember it ever working, plus there is the problem that if you 
> did rename a deleted user, most of the original attributes would be 
> missing.
> 
> The main problem (renaming wise) is that everything has to be done at 
> once, move the deleted object back to its original position and remove 
> 'isdeleted' etc. If you got this far. you then have the problem of the 
> missing attributes to deal with.
> 
> It is probably a lot easier to create a new user.
> 
> Rowland
> 
> 

There is a reanimate module (the correct name for renaming a deleted 
object), but it seems it was turned off in 2015 for:

[quote]
Disable tombstone_reanimation module until we isolate what causes flaky 
tests
[/quote]

Rowland




More information about the samba mailing list