Lines Matching defs:rc

693 	int rc, exit_rc = NS_LDAP_SUCCESS;
741 rc = __s_api_ip2hostname(sinfo.server,
743 if (rc != NS_LDAP_SUCCESS) {
783 rc = openConnection(&ld, *bindHost, auth, timeoutSec, errorp,
785 if (rc == NS_LDAP_SUCCESS || rc ==
787 exit_rc = rc;
803 return (rc);
813 rc = __s_api_requestServer(hReq, host, &sinfo, errorp,
815 if ((rc != NS_LDAP_SUCCESS) || (sinfo.server == NULL) ||
855 rc = openConnection(&ld, *bindHost, auth, timeoutSec, errorp,
858 if (rc == NS_LDAP_SUCCESS ||
859 rc == NS_LDAP_SUCCESS_WITH_INFO) {
860 exit_rc = rc;
873 if (rc == NS_LDAP_INTERNAL && *errorp != NULL) {
938 return (rc);
954 * e.g. rc == NS_LDAP_SUCCESS_WITH_INFO,
979 * e.g. rc == NS_LDAP_SUCCESS_WITH_INFO,
1012 * e.g. rc == NS_LDAP_SUCCESS_WITH_INFO,
1107 * ldaprc : ldap rc from the ldap bind operation
1121 * return rc:
1154 * try to map ldap rc and error message to
1253 * the LDAP_UNWILLING_TO_PERFORM rc
1399 int rc;
1401 rc = __s_api_check_libldap_MT_conn_support(conn_user, ld,
1403 if (rc != NS_LDAP_SUCCESS) {
1405 return (rc);
1500 int rc = 0;
1576 rc = requestAdminCred(&AdminCred, &errorp);
1577 if (rc != NS_LDAP_SUCCESS) {
1581 return (rc);
1592 rc = __ns_ldap_getParam(NS_LDAP_BINDDN_P,
1594 if (rc != NS_LDAP_SUCCESS) {
1597 return (rc);
1633 rc = __ns_ldap_getParam(NS_LDAP_BINDPASSWD_P,
1635 if (rc != NS_LDAP_SUCCESS) {
1638 return (rc);
1662 if ((rc = __ns_ldap_getParam(NS_LDAP_HOST_CERTPATH_P,
1668 return (rc);
1714 int rc;
1730 rc = __s_api_conn_mt_get(server, flags, cred, session, errorp,
1732 if (rc != NS_LDAP_NOTFOUND)
1733 return (rc);
1737 if ((rc = __ns_ldap_getParam(NS_LDAP_FILE_VERSION_P,
1739 return (rc);
1762 if ((rc = __ns_ldap_getParam(NS_LDAP_AUTH_P,
1764 return (rc);
1785 if ((rc = __ns_ldap_getParam(NS_LDAP_CREDENTIAL_LEVEL_P,
1788 return (rc);
1811 rc = makeConnection(&con, server, cred,
1820 if (rc == NS_LDAP_SUCCESS ||
1821 rc == NS_LDAP_SUCCESS_WITH_INFO) {
1842 rc = makeConnection(&con, server, &anon,
1847 if (rc == NS_LDAP_SUCCESS ||
1848 rc ==
1876 rc = __s_api_getDefaultAuth(*cNext,
1879 if (rc != NS_LDAP_SUCCESS) {
1890 rc = makeConnection(&con, server, authp,
1896 if (rc == NS_LDAP_SUCCESS ||
1897 rc ==
1915 if (self_gssapi_only && rc == NS_LDAP_SUCCESS && *session == NULL) {
1920 rc = NS_LDAP_CONFIG;
1937 return (rc);
1998 int rc;
2000 rc = getConnection(server, flags, cred, sessionId, session,
2004 if (rc != NS_LDAP_SUCCESS && rc != NS_LDAP_SUCCESS_WITH_INFO) {
2006 __s_api_conn_mt_remove(conn_user, rc, errorp);
2009 return (rc);
2488 * extract the ldap rc/errmsg/control to