20040407
- (dtucker) [session.c] Flush stdout after displaying loginmsg. From
f_mohr at yahoo.de.
+ - (bal) [acconfig.h auth-krb5.c configure.ac gss-serv-krb5.c] Check to see
+ if Krb5 library exports krb5_init_etc() since some OSes (like MacOS/X)
+ are starting to restrict it as internal since it is not needed by
+ developers any more. (Patch based on Apple tree)
+ - (bal) [monitor.c monitor_wrap.c] monitor_wrap.c] moved zlib.h higher since
+ krb5 on MacOS/X conflicts. There may be a better solution, but this will
+ work for now.
20040406
- (dtucker) [acconfig.h configure.ac defines.h] Bug #820: don't use
/* Define if you don't want to use lastlog in session.c */
#undef NO_SSH_LASTLOG
+/* Definite if have krb5_init_ets */
+#undef KRB5_INIT_ETS
+
/* Define if you don't want to use utmp */
#undef DISABLE_UTMP
problem = krb5_init_context(&authctxt->krb5_ctx);
if (problem)
return (problem);
+#ifdef KRB5_INIT_ETS
krb5_init_ets(authctxt->krb5_ctx);
+#endif
}
return (0);
}
LIBS="$LIBS $K5LIBS"
AC_SEARCH_LIBS(k_hasafs, kafs, AC_DEFINE(USE_AFS))
+ AC_SEARCH_LIBS(krb5_init_ets, $K5LIBS, AC_DEFINE(KRB5_INIT_ETS))
]
)
logit("Cannot initialize krb5 context");
return 0;
}
+#ifdef KRB5_INIT_ETS
krb5_init_ets(krb_context);
+#endif
return 1;
}
#include <skey.h>
#endif
+#include "zlib.h" /* XXX Moved due to conflict on MacOS/X */
+
#include "ssh.h"
#include "auth.h"
#include "kex.h"
#include "dh.h"
-#include "zlib.h"
#include "packet.h"
#include "auth-options.h"
#include "sshpty.h"
#include <openssl/bn.h>
#include <openssl/dh.h>
+#include "zlib.h" /* XXX Moved due to conflict on MacOS/X */
+
#include "ssh.h"
#include "dh.h"
#include "kex.h"
#include "packet.h"
#include "mac.h"
#include "log.h"
-#include "zlib.h"
#include "monitor.h"
#include "monitor_wrap.h"
#include "xmalloc.h"