[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: newbie: ADD vs. MODIFY
> I just want to make sure I'm using LDAP the way it was meant to be used:
> ldapadd chokes if the entry exists already,
> ldapmodify is meant for existing entries.
> So to add a new entry I first search the entire database to see if it
> exists, then call either ldapadd or ldapmodify accordingly? This is very
> slow, but I understand that LDAP is meant for fast recall, not fast
> entering.
Why not just try the add and check the result code?
Systems and Network Administrator
Morrison Industries
1825 Monroe Ave NW.
Grand Rapids, MI. 49505