I've see so many posts regarding importing LDAP records from previous servers, and there's even a tutorial in the How-tos relating to it. But, why do things the hard way when you can do the easy way?
For those of you who don't know there is a great piece of Open Source software called
Apache Directory Studio. Its available for Win, Mac, Linux. With the software you can connect to your existing LDAP database, export to LDIF, then connect to the new LDAP on your new Zentyal box, and import the LDIF file. The only thing you will need to do before import is use a text editor (I suggest Notepad++) to rename the DN info in the LDIF file, which typically is repeated for each user, group, computer etc.
Anyway I managed to import all users groups and computers from my old ebox 1.4 server (Ubuntu 8.04), into a new zentyal 2 server (Ubuntu 10.04).
All domain logons are working perfectly on the new server just as they used to. The only additional thing I needed to do for that was to edit the Samba SID using
Apache Directory Studio to match the Samba SID on the old server.
All in all
Apache Directory Studio is a very powerful and easy to use tool, offering you full editing of your entire LDAP directory if you need.
Hope this is useful info for someone.