[Samba] RSAT Error - not enough memory to move object

Rowland Penny rpenny at samba.org
Mon Jan 8 12:09:02 UTC 2024


On Mon, 8 Jan 2024 11:42:48 +0000
Paul Littlefield via samba <samba at lists.samba.org> wrote:

> I am nearly there :)
> 
> I tried using the editor to change the CN but got this message about
> using 'rename' ...
> 
> $ samba-tool user edit jbloggs --editor=nano
> ERROR(ldb): Failed to modify user 'jbloggs':  - Modify of
> 'distinguishedName' on CN=Joe Bloggs,OU=ICT,OU=XCompany
> Users,DC=xcompany,DC=com not permitted, must use 'rename' operation
> instead
> 
> ... but the rename --help did not give me a good enough example.  I
> would like to move that user from OU=ICT to the AD Group 'Disabled'
> like our test user (dn: CN=Bugs Bunny,OU=Disabled,OU=xCompany
> Users,DC=xcompany,DC=com)
> 
> So, can someone give me an actual command line please?
> 
> $ samba-tool user rename jbloggs '???????????'
> 
> Thanks,
> 
> Paully
> 

I thought you wanted to 'move' a user to another OU, so why are you now
trying to rename it ?

If you do just want to move the user 'jbloggs' to the OU called
'OU=Disabled,OU=xCompany Users' then the command should be something
like:

sudo samba-tool user move jbloggs 'OU=Disabled,OU=xCompany Users'

When run on a DC

Rowland



More information about the samba mailing list