[Samba] Rename Samba 4 Users
rpenny at samba.org
Mon Mar 13 17:49:18 UTC 2017
On Mon, 13 Mar 2017 14:35:00 -0300
Edson Tadeu Almeida da Silveira via samba <samba at lists.samba.org> 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.
You could write a script around ldbrename, see 'man ldbrename'
More information about the samba