[Samba] Add users to samba using a list.

Rowland Penny rowlandpenny at googlemail.com
Wed May 6 02:07:36 MDT 2015


On 06/05/15 08:43, Joakim x wrote:
> Hi! I'm trying to create a script wich allows me to add users to samba based on a list.
>
> The list got the structure:
>
> user1
> user2
> user3
>
> (one value on each line)
> Is there a simple way to add these users (with home folders) to the samba-system with the password
> "BasicPassword" ?
>
> Thanks :)
>
>   		 	   		

You are probably going to have to write your own script, but, from what 
you have posted, it is hard to advise you further, what type of samba 
install ? standalone server, NT-4 style PDC, AD DC or what ?

Rowland



More information about the samba mailing list