AW: Samba4 user import

Funke, Martin M.Funke at
Wed Jan 22 07:30:14 MST 2014


ok its easier but i would like to have a possibilty to import users without a samber 3 to samba 4 upgrade ☺.

Best regards ☺

Von: Chan Min Wai [mailto:dcmwai at]
Gesendet: Mittwoch, 22. Januar 2014 13:15
An: Funke, Martin
Cc: Samba Support (samba-technical at
Betreff: Re: Samba4 user import

Dear Funke,

As what I know using the classical upgrade are way faster :)

But you need to have ldap access or the smbpasswd.tdb and also the old smb.conf form the old server :)

That all :)

On Wed, Jan 22, 2014 at 6:19 PM, Funke, Martin <M.Funke at<mailto:M.Funke at>> wrote:

i dont want to update the old Samba. This just a test environment where I want to import Users from a .csv.

Isnt there already a howto which explains the different steps?


-----Ursprüngliche Nachricht-----
Von: Marc Muehlfeld [mailto:samba at<mailto:samba at>]
Gesendet: Dienstag, 21. Januar 2014 21:00
An: Funke, Martin; samba-technical at<mailto:samba-technical at>
Betreff: Re: Samba4 user import

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?

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...'.


More information about the samba-technical mailing list