Lines Matching defs:rc

820 	int rc, exit_rc = NS_LDAP_SUCCESS;
867 rc = __s_api_ip2hostname(sinfo.server,
869 if (rc != NS_LDAP_SUCCESS) {
909 rc = openConnection(&ld, *bindHost, auth, timeoutSec, errorp,
911 if ((rc == NS_LDAP_SUCCESS ||
912 rc == NS_LDAP_SUCCESS_WITH_INFO) &&
924 if (rc == NS_LDAP_SUCCESS_WITH_INFO) {
935 rc = NS_LDAP_INTERNAL;
937 return (rc);
940 if (rc == NS_LDAP_SUCCESS || rc == NS_LDAP_SUCCESS_WITH_INFO) {
941 exit_rc = rc;
957 return (rc);
966 rc = __s_api_requestServer(hReq, host, &sinfo, errorp,
968 if ((rc != NS_LDAP_SUCCESS) || (sinfo.server == NULL) ||
1008 rc = openConnection(&ld, *bindHost, auth, timeoutSec, errorp,
1011 if (rc == NS_LDAP_SUCCESS ||
1012 rc == NS_LDAP_SUCCESS_WITH_INFO) {
1013 exit_rc = rc;
1026 if (rc == NS_LDAP_INTERNAL && *errorp != NULL) {
1091 return (rc);
1107 * e.g. rc == NS_LDAP_SUCCESS_WITH_INFO,
1132 * e.g. rc == NS_LDAP_SUCCESS_WITH_INFO,
1166 * e.g. rc == NS_LDAP_SUCCESS_WITH_INFO,
1261 * ldaprc : ldap rc from the ldap bind operation
1275 * return rc:
1308 * try to map ldap rc and error message to
1407 * the LDAP_UNWILLING_TO_PERFORM rc
1553 int rc;
1555 rc = __s_api_check_libldap_MT_conn_support(conn_user, ld,
1557 if (rc != NS_LDAP_SUCCESS) {
1559 return (rc);
1654 int rc = 0;
1730 rc = requestAdminCred(&AdminCred, &errorp);
1731 if (rc != NS_LDAP_SUCCESS) {
1735 return (rc);
1746 rc = __ns_ldap_getParam(NS_LDAP_BINDDN_P,
1748 if (rc != NS_LDAP_SUCCESS) {
1751 return (rc);
1787 rc = __ns_ldap_getParam(NS_LDAP_BINDPASSWD_P,
1789 if (rc != NS_LDAP_SUCCESS) {
1792 return (rc);
1816 if ((rc = __ns_ldap_getParam(NS_LDAP_HOST_CERTPATH_P,
1822 return (rc);
1868 int rc;
1884 rc = __s_api_conn_mt_get(server, flags, cred, session, errorp,
1886 if (rc != NS_LDAP_NOTFOUND)
1887 return (rc);
1891 if ((rc = __ns_ldap_getParam(NS_LDAP_FILE_VERSION_P,
1893 return (rc);
1916 if ((rc = __ns_ldap_getParam(NS_LDAP_AUTH_P,
1918 return (rc);
1939 if ((rc = __ns_ldap_getParam(NS_LDAP_CREDENTIAL_LEVEL_P,
1942 return (rc);
1965 rc = makeConnection(&con, server, cred,
1974 if (rc == NS_LDAP_SUCCESS ||
1975 rc == NS_LDAP_SUCCESS_WITH_INFO) {
1996 rc = makeConnection(&con, server, &anon,
2001 if (rc == NS_LDAP_SUCCESS ||
2002 rc ==
2030 rc = __s_api_getDefaultAuth(*cNext,
2033 if (rc != NS_LDAP_SUCCESS) {
2044 rc = makeConnection(&con, server, authp,
2050 if (rc == NS_LDAP_SUCCESS ||
2051 rc ==
2069 if (self_gssapi_only && rc == NS_LDAP_SUCCESS && *session == NULL) {
2074 rc = NS_LDAP_CONFIG;
2091 return (rc);
2152 int rc;
2154 rc = getConnection(server, flags, cred, sessionId, session,
2158 if (rc != NS_LDAP_SUCCESS && rc != NS_LDAP_SUCCESS_WITH_INFO) {
2160 __s_api_conn_mt_remove(conn_user, rc, errorp);
2163 return (rc);
2664 * extract the ldap rc/errmsg/control to