[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: help lost users

Just an idea and I am not an expert here, but could you:

1) slapcat to a file
2) rename the old db directory - I would recommend renaming
   it, so if the below does not help, you can at least rename
   it back
3) mkdir the db directory
4) re-build from the slapcat

See what happens. If they are there, then great, if not, then
add them. Might want to inspect the slapcat output file.

Hope this helps....

-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of mbooher
Sent: Thursday, September 25, 2003 2:04 PM
To: openldap-software@OpenLDAP.org
Subject: help lost users

Hey Everyone,
I am relatively new to openldap and I have a problem that i would really
appreciate some help with.  I am currently running openldap-2.1.22  on a
k12ltsp (redhat 9) box.  About a week ago one of my students tripped over a
power cord and cut power to the server. I restarted the server and found
slapd would not start.  I removed the _db.xx files and ldap started.  I
discovered several days later that I  had lost 10-15 users out of about 400
from my directory.   The users cannot login and ldapsearch produces no
results.  However when i tried to re-add them i received an error that they
already exist (i am using the idealx.org scripts to manage users).  I also
cannot delete or modify the missing users because of course they are not
found.  I have tried the recovery proceeder but have not gotten my users
 I am completely stumped any suggestions as to what i should do would be
greatly appreciated.

Matthew Booher
Technology Coordinator
Belleville Mennonite School