Lines Matching defs:dn
36 BerElement * ldap_build_compare_req(LDAP *ld, char *dn, char *attr,
59 dn, attr, bvalue->bv_val, bvalue->bv_len ) == -1 ) {
89 * ldap_compare - perform an ldap (and X.500) compare operation. The dn
97 ldap_compare( LDAP *ld, char *dn, char *attr, char *value )
122 if ((ber = ldap_build_compare_req(ld, dn, attr, &bv, NULL)) == NULLBER) {
144 rv = send_initial_request( ld, LDAP_REQ_COMPARE, dn, ber );
152 ldap_compare_s( LDAP *ld, char *dn, char *attr, char *value )
157 if ( (msgid = ldap_compare( ld, dn, attr, value )) == -1 )
167 int ldap_compare_ext(LDAP *ld, char *dn, char *attr, struct berval *bvalue,
190 if ((ber = ldap_build_compare_req(ld, dn, attr, bvalue, NULL)) == NULLBER) {
216 rv = send_initial_request( ld, LDAP_REQ_COMPARE, dn, ber );
235 int ldap_compare_ext_s(LDAP *ld, char *dn, char *attr, struct berval *bvalue,
241 if ( (retcode = ldap_compare_ext( ld, dn, attr, bvalue, serverctrls, clientctrls, &msgid )) != LDAP_SUCCESS )