Web lists-archives.com

Re: [Samba] Rename Samba 4 Users




On Mon, 13 Mar 2017 14:35:00 -0300
Edson Tadeu Almeida da Silveira via samba <samba@xxxxxxxxxxxxxxx> wrote:

> Hi guys!
> 
> Do you know if there is a away to rename a list of samba 4 user
> accounts ?
> 
> I need to change a list of 2000 users from "login name" to a "login
> number" i would not like to do this one by one.
> 
> I know that in windows server i can do using powershell script, but it
> doesn´t work with samba.
> 
> If you have any ideia on how to do this i appreciate.
> 
> Thanks!!
> 

You could write a script around ldbrename, see 'man ldbrename'

Rowland

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba