• [Samba] Rename Samba 4 Users

    From Edson Tadeu Almeida da Silveira via@21:1/5 to All on Mon Mar 13 18:40:02 2017
    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!!

    --

    -------------------------------------------
    Edson Tadeu Almeida Silveira
    http://sites.google.com/site/edsontadeu/ -------------------------------------------
    --
    To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rowland Penny via samba@21:1/5 to Edson Tadeu Almeida da Silveira via on Mon Mar 13 19:00:02 2017
    On Mon, 13 Mar 2017 14:35:00 -0300
    Edson Tadeu Almeida da Silveira via samba <samba@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.

    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)