LDAP Library Functions ldapparseresult(3LDAP)
NAME
ldapparseresult, ldapparseextendedresult,
ldapparsesaslbindresult - LDAP message result parser
SYNOPSIS
cc[ flag... ] file... -lldap[ library... ]
#include
#include
int ldapparseresult(LDAP *ld, LDAPMessage *res, int *errcodep,
char **matcheddnp,char **errmsgp, char ***referralsp,
LDAPControl ***serverctrlsp,int freeit);
int ldapparsesaslbindresult(LDAP *ld, LDAPMessage *res,
struct berval**servercredp,int freeit);
int ldapparseextendedresult(LDAP *ld, LDAPMessage *res,
struct bervalchar **resultoidp, **resultdata, int freeit);
DESCRIPTION
The ldapparseextendedresult(), ldapparseresult() and
ldapparsesaslbindresult() routines search for a message
to parse. These functions skip messages of type
LDAPRESEARCHENTRY and LDAPRESEARCHREFERENCE.
RETURN VALUES
They return LDAPSUCES if the result was successfully
parsed or an LDAP error code if not (see
ldaperror(3LDAP)).
ATRIBUTES
See attributes(5) for a description of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWcsl (32-bit)
SUNWcslx (64-bit)
Interface Stability Evolving
SEE ALSO
ldaperror(3LDAP), ldapresult(3LDAP), attributes(5)
SunOS 5.11 Last change: 27 Jan 2002 1
|