[Samba] ldbrename does not rename container users CN=Deleted Objects
Stefan Kania
stefan at kania-online.de
Wed May 3 11:44:40 UTC 2023
Am 03.05.23 um 12:01 schrieb Rowland Penny via samba:
>
>
> 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 ?
definitely, because I wrote this in my first German samba-book but i had
to remove it in the second release, because it did not work anymore
>
> 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.
Not always, if the RID is relevant an new user is no option
>
> Rowland
>
>
More information about the samba
mailing list