Author Topic: Reset LDAP database  (Read 3170 times)

jbo5112

  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +1/-0
    • View Profile
Reset LDAP database
« on: December 20, 2011, 07:05:57 am »
Is there any way to reset the LDAP database?  I have moved the server from a development site to put it into production.  I would just edit everything, but the base DN isn't correct for the new location.  I've tried correcting the root DN by using JXplorer to export everything to an LDIF file that has a new root DN, but I get an error when importing.

There isn't much worthwhile stored in the LDAP database, so I figured resetting it would be the easiest and cleanest thing to do, if I can find out how.  Removing and re-installing the module doesn't affect the LDAP database.  If I go in with an LDAP browser like JXplorer or Apache Directory Studio and delete everything, will that trigger zentyal to rebuild the default database?  Will that also fix the files under /etc/ that store the old base DN?

stif

  • Zen Apprentice
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Reset LDAP database
« Reply #1 on: December 21, 2011, 10:16:34 am »
As far as i know the script
Code: [Select]
/usr/share/zentyal-users/reinstall resets the LDAP database as well