[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.
"and", not "or". The server sends each matching entry (if any) in a
separate LDAP_RES_SEARCH_ENTRY message over the LDAP protocol. And/or
LDAP_RES_SEARCH_REFERENCE messages for references to other servers.
Finally, an LDAP_RES_SEARCH_RESULT message is sent with the result
code, a possible error message, etc. These fields are not present
in LDAP_RES_SEARCH_ENTRY messages.
--
Hallvard