Lines Matching full:res
256 int res;
268 res = -1;
277 res = privsep_xauth_login_system(usr, pwd);
281 res = xauth_login_radius(iph1, usr, pwd);
286 res = privsep_xauth_login_pam(iph1->mode_cfg->port,
292 res = xauth_login_ldap(iph1, usr, pwd);
298 res = -1;
305 if (!res && (isakmp_cfg_config.groupcount))
306 res = group_check(iph1,
314 throttle_delay = throttle_host(iph1->remote, res) - time(NULL);
323 res = -1;
335 return xauth_reply(iph1, port, id, res);
346 xra->res = res;
349 return xauth_reply(iph1, port, id, res);
364 (void)xauth_reply(iph1, xra->port, xra->id, xra->res);
374 xauth_reply(iph1, port, id, res)
382 if (res != 0) {
498 int res;
527 switch (res = rad_send_request(radius_auth_state)) {
565 "rad_send_request returned %d\n", res);
640 int res;
799 int res = -1;
833 res = ldap_initialize(&ld, init);
834 if (res != LDAP_SUCCESS) {
837 ldap_err2string(res));
856 res = ldap_sasl_bind_s(ld,
862 res = ldap_sasl_bind_s(ld,
867 if (res!=LDAP_SUCCESS) {
870 ldap_err2string(res));
908 res = ldap_search_ext_s(ld, basedn, scope,
911 if (res != LDAP_SUCCESS) {
914 ldap_err2string(res));
1000 res = ldap_sasl_bind_s(ld,
1003 if(res==LDAP_SUCCESS)
1033 int res = -1;
1061 res = ldap_initialize(&ld, init);
1062 if (res != LDAP_SUCCESS) {
1065 ldap_err2string(res));
1084 res = ldap_sasl_bind_s(ld,
1090 res = ldap_sasl_bind_s(ld,
1095 if (res!=LDAP_SUCCESS) {
1098 ldap_err2string(res));
1125 res = ldap_search_ext_s(ld, basedn, scope,
1128 if (res != LDAP_SUCCESS) {
1131 ldap_err2string(res));
1297 int res = -1;
1306 return res;
1320 return res;
1328 res = xauth_group_system(
1335 res = xauth_group_ldap(
1348 if( !res ) {
1362 return res;