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

Re: ldapmodify gets confused, can't find entry (ITS#623)



> Full_Name: Frank Henderson
> Version: 1.2.9
> OS: SunOS 5.7
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (131.204.85.131)
> 
> 
> I searched and found 2 others in the s/w maillist who had this same problem but
> no
> reply was ever posted.  I contacted both submitters and neither knows how they
> fixed the problem.  Here's one of their messages with my specifics added at the
> top:
> 
> 
> I am updating my db with a series of single entry ldapmodify or ldapadd
> commands.
> I read a list of users from a file then search for them in the db.  If found I
> run an ldapmodify, if not, ldapadd.  Somewhere along the way, I get "Already
> exists"
> from ldapadd even though ldapsearch didn't find the entry.  If I try to
> ldapmodify
> that entry, I either get a "no such object" error or it takes the dn: line from
> the 
> first (successful) ldapadd entry executed  during that session and modifies that
> 
> entry with the new info and then that earlier entry is no longer visible with
> ldapsearch and the new entry has a munged dn.
> 
> --frank

I recommend you upgrade everything to the latest OpenLDAP.  I'd also suggest
using Sleepycat 2.7.7 as your LDBM backend database.  If you still have
problems, repost.

Randy