Lines Matching defs:ret_code
108 ns_ldap_return_code ret_code;
112 ret_code = __s_api_getServers(&servers, error);
113 if (ret_code != NS_LDAP_SUCCESS) {
117 return (ret_code);
201 ns_ldap_return_code ret_code;
219 if ((ret_code = __s_api_findRootDSE(ireq,
229 return (ret_code);
239 ret_code = getFirstFromConfig(ret, error);
240 if (ret_code != NS_LDAP_SUCCESS) {
241 return (ret_code);
245 ret_code = __s_api_ip2hostname(ret->server,
247 if (ret_code != NS_LDAP_SUCCESS) {
301 ret_code = getFirstFromConfig(ret, error);
302 if (ret_code != NS_LDAP_SUCCESS) {
303 return (ret_code);
307 ret_code = __s_api_ip2hostname(ret->server,
309 if (ret_code != NS_LDAP_SUCCESS) {
1513 ns_ldap_return_code ret_code = NS_LDAP_SUCCESS;
1538 ret_code = createSession(auth,
1547 if (ret_code != NS_LDAP_SUCCESS) {
1548 return (ret_code);
1576 ret_code = __s_api_toFollowReferrals(flags, &followRef, errorp);
1577 if (ret_code != NS_LDAP_SUCCESS) {
1579 return (ret_code);
1595 ret_code = performBind(auth,
1602 if (ret_code == NS_LDAP_SUCCESS ||
1603 ret_code == NS_LDAP_SUCCESS_WITH_INFO) {
1612 return (ret_code);
2496 ns_ldap_return_code ret_code;
2570 ret_code = process_pwd_mgmt("simple",
2576 if (ret_code == NS_LDAP_INTERNAL) {
2586 (ret_code != NS_LDAP_SUCCESS &&
2587 ret_code != NS_LDAP_SUCCESS_WITH_INFO))
2588 return (ret_code);
2597 return (ret_code);
2618 ns_ldap_return_code ret_code;
2655 ret_code = NS_LDAP_SUCCESS;
2734 ret_code = process_pwd_mgmt("sasl/DIGEST-MD5",
2740 if (ret_code == NS_LDAP_INTERNAL) {
2748 ret_code = __s_api_sasl_gssapi_init();
2749 if (ret_code != NS_LDAP_SUCCESS) {
2755 MKERROR(LOG_WARNING, *errorp, ret_code,
2757 return (ret_code);
2800 return (ret_code);