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

Re: LDAP_RES_ENTRY vs LDAP_RES_RESULT



owen nirvana writes:
> I am writing an application about pki, which needs openldap, when I
> try to query an entry from ldap server, openLDAP return LDAP_RES_ENTRY
> or LDAP_RES_RESULT if successful.

I forgot: LDAP_RES_RESULT is sent both for success and failure.
Furthermore "success" for a search does not imply it returned any
entries.  It means there was no error - like the search baseDN did not
exist, sizelimit exceeded, etc.

-- 
Hallvard