Re: [Samba] Rename Samba 4 Users
- Date: Mon, 13 Mar 2017 17:49:18 +0000
- From: Rowland Penny via samba <samba@xxxxxxxxxxxxxxx>
- Subject: 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.
You could write a script around ldbrename, see 'man ldbrename'
To unsubscribe from this list go to the following URL and read the