title: Change BaseDN in OpenLDAP
body: <p>I was trying to rename my <strong>OpenLDAP</strong>'s baseDN</p>
  
  <p>from:</p>
  
  <p><strong>dc=abc,dc=com</strong></p>
  
  <p>to:</p>
  
  <p><strong>dc=xyz,dc=edu</strong></p>
  
  <p>I did modify some conf files:</p>
  
  <ul>
  <li><p><strong>/etc/ldap/slapd.d/cn\=config/olcDatabase={1}hdb.ldif</strong></p></li>
  <li><p><strong>/etc/ldapscripts/ldapscripts.conf</strong></p></li>
  </ul>
  
  <p>and the configuration of <strong>phpLDAPadmin</strong>:</p>
  
  <ul>
  <li><strong>config.php</strong></li>
  </ul>
  
  <p>to the new root dn</p>
  
  <p>But after I restarted the <strong>slapd</strong> and <strong>lighttpd</strong> services, even though I could login to the admin interface of phpLDAPAdmin (admin binddn), but I was not able to do anything.</p>
  
  <p>I also tried to run some ldap command lines but it didn't work.</p>
  
  <p>What else do I have to do? Or anything wrong with my method?</p>