zlib >= 1.1.4. Partly from jbasney at ncsa.uiuc.edu. ok djm@
- (dtucker) [contrib/cygwin/README] Document new ssh-host-config options.
Patch from vinschen at redhat.com.
+ - (dtucker) [acconfig.h configure.ac includes.h servconf.c session.c]
+ Change AFS symbol to USE_AFS to prevent namespace collisions, do not
+ include kafs.h unless necessary. From deengert at anl.gov.
20040122
- (dtucker) [configure.ac] Use krb5-config where available for Kerberos/
/* Define this if you are using the Heimdal version of Kerberos V5 */
#undef HEIMDAL
-/* Define this if you want to use Heimdal's AFS support */
-#undef AFS
+/* Define this if you want to use libkafs' AFS support */
+#undef USE_AFS
/* Define if you want S/Key support */
#undef SKEY
fi
fi ]
AC_SEARCH_LIBS(k_hasafs, kafs,
- [ AC_DEFINE(AFS)
+ [ AC_DEFINE(USE_AFS)
K5LIBS="-lkafs $K5LIBS"
]
)
# include <libutil.h> /* Openpty on FreeBSD at least */
#endif
-#if defined(HEIMDAL) && defined(AFS)
+#if defined(KRB5) && defined(USE_AFS)
# include <krb5.h>
# include <kafs.h>
#endif
{ "kerberosauthentication", sKerberosAuthentication },
{ "kerberosorlocalpasswd", sKerberosOrLocalPasswd },
{ "kerberosticketcleanup", sKerberosTicketCleanup },
-#ifdef AFS
+#ifdef USE_AFS
{ "kerberosgetafstoken", sKerberosGetAFSToken },
#else
{ "kerberosgetafstoken", sUnsupported },
#include "session.h"
#include "monitor_wrap.h"
-#ifdef KRB5
+#if defined(KRB5) && defined(USE_AFS)
#include <kafs.h>
#endif
*/
environ = env;
-#if defined(KRB5) && defined(AFS)
+#if defined(KRB5) && defined(USE_AFS)
/*
* At this point, we check to see if AFS is active and if we have
* a valid Kerberos 5 TGT. If so, it seems like a good idea to see