Samba4 user import

Marc Muehlfeld samba at marc-muehlfeld.de
Tue Jan 21 13:00:07 MST 2014


Hello Martin,

Am 21.01.2014 19:01, schrieb Funke, Martin:
> i successfully configured my Samba4 AD in CentOS. My next problem is that i need a way to import my users.
>
> Normally i have a .csv file which contain the infos about the people.
>
> Is it possible to import those users from a .csv file?

Did you had a Samba NT4-domain before:
Then why not using the classicupgrade process?
https://wiki.samba.org/index.php/Samba4/samba-tool/domain/classicupgrade/HOWTO


Or is this a new complete new setup any you want to populate your directory:
Write a small shell script iterating through your *.cvs file and 
creating the accounts with 'samba-tool user...'.




Regards,
Marc


More information about the samba-technical mailing list