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

Rowland Penny rpenny at samba.org
Wed May 3 10:01:33 UTC 2023



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




More information about the samba mailing list