Lines Matching refs:rc

745     int rc;
754 rc = ldap_search_ext_s(HDB2LDAP(db), dn, LDAP_SCOPE_SUBTREE,
758 if (check_ldap(context, db, rc)) {
762 filter, ldap_err2string(rc));
839 int rc;
855 rc = asprintf(&filter,
860 if (rc < 0) {
870 rc = ldap_search_ext_s(HDB2LDAP(db), HDB2BASE(db),
875 if (check_ldap(context, db, rc)) {
879 filter, ldap_err2string(rc));
893 rc = asprintf(&filter,
897 if (rc < 0) {
907 rc = ldap_search_ext_s(HDB2LDAP(db), HDB2BASE(db), LDAP_SCOPE_SUBTREE,
911 if (check_ldap(context, db, rc)) {
915 filter, ldap_err2string(rc));
1435 int msgid, rc, parserc;
1444 rc = ldap_result(HDB2LDAP(db), msgid, LDAP_MSG_ONE, NULL, &e);
1445 switch (rc) {
1483 } while (rc == LDAP_RES_SEARCH_REFERENCE);
1534 int rc, version = LDAP_VERSION3;
1559 rc = ldap_initialize(&((struct hdbldapdb *)db->hdb_db)->h_lp, HDB2URL(db));
1560 if (rc != LDAP_SUCCESS) {
1562 ldap_err2string(rc));
1566 rc = ldap_set_option(HDB2LDAP(db), LDAP_OPT_PROTOCOL_VERSION,
1568 if (rc != LDAP_SUCCESS) {
1570 "ldap_set_option: %s", ldap_err2string(rc));
1575 rc = ldap_sasl_bind_s(HDB2LDAP(db), NULL, "EXTERNAL", &bv,
1577 if (rc != LDAP_SUCCESS) {
1579 "ldap_sasl_bind_s: %s", ldap_err2string(rc));
1653 int rc;
1695 rc = ldap_add_ext_s(HDB2LDAP(db), dn, mods, NULL, NULL );
1699 rc = ldap_modify_ext_s(HDB2LDAP(db), dn, mods, NULL, NULL );
1703 if (check_ldap(context, db, rc)) {
1709 errfn, name, dn, ldap_err2string(rc), ld_error);
1733 int rc, limit = LDAP_NO_LIMIT;
1751 rc = ldap_set_option(HDB2LDAP(db), LDAP_OPT_SIZELIMIT, (const void *)&limit);
1752 if (rc != LDAP_SUCCESS) {
1755 ldap_err2string(rc));
1759 rc = ldap_delete_ext_s(HDB2LDAP(db), dn, NULL, NULL );
1760 if (check_ldap(context, db, rc)) {
1763 ldap_err2string(rc));