Visit The New, Modern Unix Linux Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #620
Difficulty: Medium
Python implicitly assumes that each physical line corresponds to a logical line.
True or False?
Linux & Unix Commands - Search Man Pages

ldap_parse_extended_result(3ldap) [sunos man page]

ldap_parse_result(3LDAP)				      LDAP Library Functions					  ldap_parse_result(3LDAP)

NAME
ldap_parse_result, ldap_parse_extended_result, ldap_parse_sasl_bind_result - LDAP message result parser SYNOPSIS
cc[ flag... ] file... -lldap[ library... ] #include <lber.h> #include <ldap.h> int ldap_parse_result(LDAP *ld, LDAPMessage *res, int *errcodep, char **matcheddnp, char **errmsgp, char ***referralsp, LDAPControl ***serverctrlsp, int freeit); int ldap_parse_sasl_bind_result(LDAP *ld, LDAPMessage *res, struct berval**servercredp, int freeit); int ldap_parse_extended_result(LDAP *ld, LDAPMessage *res, char **resultoidp, struct berval **resultdata, int freeit); DESCRIPTION
The ldap_parse_extended_result(), ldap_parse_result() and ldap_parse_sasl_bind_result() routines search for a message to parse. These func- tions skip messages of type LDAP_RES_SEARCH_ENTRY and LDAP_RES_SEARCH_REFERENCE. RETURN VALUES
They return LDAP_SUCCESS if the result was successfully parsed or an LDAP error code if not (see ldap_error(3LDAP)). ATTRIBUTES
See attributes(5) for a description of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |Availability |SUNWcsl (32-bit) | | |SUNWcslx (64-bit) | |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
ldap_error(3LDAP), ldap_result(3LDAP), attributes(5) SunOS 5.10 27 Jan 2002 ldap_parse_result(3LDAP)

Check Out this Related Man Page

ldap_get_entry_controls(3LDAP)				      LDAP Library Functions				    ldap_get_entry_controls(3LDAP)

NAME
ldap_get_entry_controls - get the LDAP controls included with a directory entry in a set of search results SYNOPSIS
cc-flag ... file...-lldap [ -library ... ] #include <ldap.h> int ldap_get_entry_controls(LDAP *ld, LDAPMessage *entry, LDAPControl ***serverctrlsp DESCRIPTION
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. ERRORS
ldap_get_entry_controls() returns the following error codes. LDAP_SUCCESS LDAP controls were successfully retrieved. LDAP_DECODING_ERROR An error occurred when decoding the BER-encoded message. LDAP_PARAM_ERROR An invalid parameter was passed to the function. LDAP_NO_MEMORY Memory cannot be allocated. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsl (32-bit) | +-----------------------------+-----------------------------+ | |SUNWcslx (64-bit) | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
ldap_error(3LDAP), ldap_parse_result(3LDAP), attributes(5) SunOS 5.11 6 Jan 2003 ldap_get_entry_controls(3LDAP)

Featured Tech Videos