Displaying 2 results from an estimated 2 matches for "ktext".
Did you mean:
  text
  
2002 May 02
0
IRIX 6.5 + AFS/Kerberos Problems
...d.c:
	--------------
	at line 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.
The...
2002 Jan 23
1
Fix AFS and Kerberos interaction
...(1);
 }
-#endif /* KRB4 */
 
-#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 /...