Author Topic: Migration From Linux LDAP NT4 PDC?  (Read 601 times)

klabacita

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Migration From Linux LDAP NT4 PDC?
« on: April 22, 2022, 08:51:56 am »
Hello guys.

I had a old network running Linux-Centos with samba as PDC NT4 Style(LDAP).
I around 160 users+computers in the list.

I want to move to zentyal domain controller, just would like to know if zentyal have a migration tool to export all my users, computers and password from my old domain?

Any input I will appreciated, thanks!!!

turalyon

  • Zen Warrior
  • ***
  • Posts: 115
  • Karma: +12/-0
    • View Profile
Re: Migration From Linux LDAP NT4 PDC?
« Reply #1 on: April 22, 2022, 10:33:57 am »
Hi,

You can export the domain groups and users and perhaps, their passwords too, however, the computers cannot be migrated. You will need to unjoin and join them again to the new domain controller.

Zentyal has two scripts that allow to import domain users and group from a csv files. Below you have more information about it.

* https://doc.zentyal.org/en/directory.html#importing-and-exporting-users-and-groups

To create those csv files from your current Samba, you could create a shell script that uses ldapsearch/ldbsearch command to retrieve the required information.

Hope it helps you.

--
“This world is ours, and by the Holy Light we will keep it safe, now and forever".

klabacita

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Migration From Linux LDAP NT4 PDC?
« Reply #2 on: April 23, 2022, 06:39:09 pm »
I see, them some tasks that must be done.

Is better to know this, thanks turalyon.