Author Topic: How to migrate from an old SAMBA to Zentyal  (Read 281 times)


  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
How to migrate from an old SAMBA to Zentyal
« on: December 16, 2019, 06:43:03 pm »
Hello people
I want to migrate users and permissions from old SAMBA in ADDC
but no GPOs applied
users, group and folder access permissions only

How do I do this migration?
I thought to copy users and groups to Zentyal
and use the same hard drives, the same IP, etc.

but I don't know how to do that

if anyone can tell me how or send me a tutorial, (even in another language)

Is configuring Zentyal as an additional domain controller an option?
How to proceed with the same hard drives?


  • Zen Samurai
  • ****
  • Posts: 392
  • Karma: +112/-1
    • View Profile
Re: How to migrate from an old SAMBA to Zentyal
« Reply #1 on: December 18, 2019, 10:30:43 am »

Zentyal 6.1 provides some scripts to import/export users and groups. You can use them in older versions of Zentyal too. You can download them from here,,,

These scripts work with csv files. So, it should be easy to import users and groups if you are able to build from your old system the csv files with the expected structure (view the source code or tell me if you need some more help)

You'll have to copy the shares to the new server. You can use the 'tar' command with the --acls -cpvf options (man tar) to copy it with acls and permissions but before you have to create these shares in the Zentyal Filse Sharing interface with their respective acls. Afterwards you can copy the content of the respective resources to the folders created by Zentyal.

Zentyal as additional domain controller will replicate the LDB database, so the users and groups, but shares and users data would be managed from the old server.

"Tanta salud goces como bondad abrigues en tu corazón"

Don Camilo.

"That place... is strong with the
dark side of the Force.  A domain
of evil it is.  In you must go."