search for: auth_krb4_password

Displaying 3 results from an estimated 3 matches for "auth_krb4_password".

2002 May 02
0
IRIX 6.5 + AFS/Kerberos Problems
...ne 46: add line: #define ONLY_PASSWD_AUTH (just before: #include "auth.h" ) auth.h ------ make include of krb.h conditional (starts at line 100): #ifdef KRB4 new--> #ifndef ONLY_PASSWD_AUTH #include <krb.h> int auth_krb4(Authctxt *, KTEXT, char **); int auth_krb4_password(Authctxt *, const char *); void krb4_cleanup_proc(void *); new--> #endif /* ! ONLY_PASSWD_AUTH */ After making this change, ssh will build and run but sshd does not allow logging in using AFS accounts despite the defaults saying it should. There was another post in the archives that...
2002 Jul 30
0
patch: disable credential forwarding after password auth.
...ut; } #endif #ifdef WITH_AIXAUTHENTICATE - return (authenticate(pw->pw_name,password,&reenter,&authmsg) == 0); + retval=(authenticate(pw->pw_name,password,&reenter,&authmsg) == 0); + goto out; #endif #ifdef KRB4 if (options.kerberos_authentication == 1) { int ret = auth_krb4_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 #ifdef BSD_AUTH if (auth_userokay(pw->pw_name, authctxt->style, "auth-ssh", - (ch...
2002 Jan 23
1
Fix AFS and Kerberos interaction
...4 */ -#ifdef AFS int auth_krb4_tgt(Authctxt *authctxt, const char *string) { @@ -370,4 +369,4 @@ return (1); } -#endif /* AFS */ +#endif /* KRB4 */ --- auth.h 2002/01/23 12:01:53 1.1 +++ auth.h 2002/01/23 12:14:19 @@ -102,14 +102,15 @@ int auth_krb4(Authctxt *, KTEXT, char **); int auth_krb4_password(Authctxt *, const char *); void krb4_cleanup_proc(void *); +#endif /* KRB4 */ #ifdef AFS #include <kafs.h> +#ifdef KRB4 int auth_krb4_tgt(Authctxt *, const char *); int auth_afs_token(Authctxt *, const char *); -#endif /* AFS */ - #endif /* KRB4 */ +#endif /* AFS */ #ifd...