ldap_get_entry_controls - get the LDAP controls included with a directory entry in a set of search results
cc-flag ... file...-lldap [ -library ... ] #include <ldap.h> int ldap_get_entry_controls(LDAP *ld, LDAPMessage *entry, LDAPControl ***serverctrlsp
The ldap_get_entry_controls() function retrieves the LDAP v3 controls included in a directory entry in a chain of search results. The LDAP controls are specified in an array of LDAPControl structures. Each LDAPControl structure represents an LDAP control. The function takes entry as a parameter, which points to an LDAPMessage structure that represents an entry in a chain of search results.
The entry notification controls that are used with persistent search controls are the only controls that are returned with individual entries. Other controls are returned with results sent from the server. You can call ldap_parse_result() to retrieve those controls.
ldap_get_entry_controls() returns the following error codes.
LDAP_SUCCESS
LDAP_DECODING_ERROR
LDAP_PARAM_ERROR
LDAP_NO_MEMORY
See attributes(5) for descriptions of the following attributes:
|
ldap_error(3LDAP), ldap_parse_result(3LDAP), attributes(5)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |