search for: cygwin_logon_user

Displaying 1 result from an estimated 1 matches for "cygwin_logon_user".

2002 Jul 30
0
patch: disable credential forwarding after password auth.
...tion == 1) { int ret = auth_krb5_password(authctxt, password); - if (ret == 1 || ret == 0) - return ret; + if (ret == 1 || ret == 0) { + retval=ret ; goto out; + } /* Fall back to ordinary passwd authentication. */ } #endif @@ -138,29 +147,34 @@ if (is_winnt) { HANDLE hToken = cygwin_logon_user(pw, password); - if (hToken == INVALID_HANDLE_VALUE) - return 0; + if (hToken == INVALID_HANDLE_VALUE) { + retval=0 ; goto out; + } cygwin_set_impersonation_token(hToken); - return 1; + retval=1; + goto out; } #endif #ifdef WITH_AIXAUTHENTICATE - return (authenticate(pw->pw_n...