Home
last modified time | relevance | path

Searched refs:ldap_rc (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/idmap/idmap/
H A Dnamemaps.c193 int ldversion, ldap_rc; in idmap_open_ad_conn() local
213 ldap_rc = ldap_sasl_interactive_bind_s(adh->ad, "" /* binddn */, in idmap_open_ad_conn()
217 if (ldap_rc != LDAP_SUCCESS) { in idmap_open_ad_conn()
223 adh->ad_port, ldap_err2string(ldap_rc)); in idmap_open_ad_conn()
653 int ldap_rc; in winname2dn() local
677 ldap_rc = ldap_search_s(p->ad, base, LDAP_SCOPE_SUBTREE, filter, in winname2dn()
683 if (ldap_rc != LDAP_SUCCESS) { in winname2dn()
686 p->ad_host, p->ad_port, ldap_err2string(ldap_rc)); in winname2dn()
758 int ldap_rc; in idmap_ad_set() local
773 ldap_rc = ldap_modify_s(p->ad, dn, mods); in idmap_ad_set()
[all …]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_connect.c2042 int ldap_rc; in createTLSSession() local
2069 if ((ldap_rc = ldapssl_client_init(hostcertpath, NULL)) < 0) { in createTLSSession()
2076 ldapssl_err2string(ldap_rc)); in createTLSSession()
2341 int msgId, errnum = 0, ldap_rc; in doSimpleBind() local
2379 ldap_rc = ldap_result(ld, msgId, 0, &tv, &resultMsg); in doSimpleBind()
2381 if ((ldap_rc == -1) || (ldap_rc == 0)) { in doSimpleBind()
2397 ldap_rc = ldap_parse_result(ld, resultMsg, &errnum, NULL, in doSimpleBind()
2400 if (ldap_rc != LDAP_SUCCESS) { in doSimpleBind()
2441 int ldap_rc, errnum = 0; in doSASLBind() local
2495 if ((ldap_rc = ldap_sasl_cram_md5_bind_s(ld, binddn, in doSASLBind()
[all …]
H A Dns_standalone.c847 int ldap_rc; in getDirBaseDN() local
854 ldap_rc = ldap_search_ext_s(ld, "", LDAP_SCOPE_BASE, "(objectclass=*)", in getDirBaseDN()
856 switch (ldap_rc) { in getDirBaseDN()
905 ldap_rc = ldap_search_ext_s(ld, in getDirBaseDN()
916 if (ldap_rc != LDAP_SUCCESS) { in getDirBaseDN()
978 int ldap_rc; in getDUAProfile() local
988 ldap_rc = ldap_search_ext_s(ld, in getDUAProfile()
1000 switch (ldap_rc) { in getDUAProfile()
1309 int ldap_rc, ldaperrno = 0; in __ns_ldap_getRootDSE() local
1420 ldap_rc = ldap_search_ext_s(session->ld, in __ns_ldap_getRootDSE()
[all …]
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Ddit_access_utils.h77 int *ldap_rc);
H A Ddit_access_utils.c1879 addNISObject(char *domain, char *dn, int *ldap_rc) { in addNISObject() argument
1892 if (ldap_rc) in addNISObject()
1893 *ldap_rc = -1; in addNISObject()
1998 if (ldap_rc) in addNISObject()
1999 *ldap_rc = rc; in addNISObject()