Changes

From SME Server
Jump to navigationJump to search
LDAP
Line 19: Line 19:  
In the unlikely event your LDAP directory is corrupted you can do the following to "rebuild" your directory
 
In the unlikely event your LDAP directory is corrupted you can do the following to "rebuild" your directory
   −
  runsvctrl d /service/ldap
+
  sv d /service/ldap
  mv /home/e-smith/db/ldap/xxx.ldif /home/e-smith/db/ldap/xxx.ldif.backup
+
  mv /home/e-smith/db/ldap/domain.xxx.ldif /home/e-smith/db/ldap/domain.xxx.backup
 
  find /var/lib/ldap -type f | xargs rm -f
 
  find /var/lib/ldap -type f | xargs rm -f
  expand-template /var/service/ldap/ldif
+
  expand-template /home/e-smith/db/ldap/ldif
  runsvctrl u /service/ldap
+
  sv u /service/ldap
    
===Console Login===
 
===Console Login===

Navigation menu