+Sat Apr 22 00:52:01 1995 Theodore Y. Ts'o (tytso@dcl)
+
+ * telnetd.c (main): Don't use krb5_override_default_realm, as it
+ is obsolete (non-existent). Use krb5_set_default_realm
+ instead.
+
Fri Apr 21 12:47:57 1995 Mark Eichin <eichin@cygnus.com>
From Ian Taylor <ian@cygnus.com>.
# endif /* SO_SEC_MULTI */
#endif /* _SC_CRAY_SECURE_SYS */
+#ifdef KRB5
+#include "krb5.h"
+#endif
+
#if defined(AUTHENTICATION)
#include <libtelnet/auth.h>
int auth_level = 0;
#ifdef KRB5
case 'R':
{
- extern char *krb5_override_default_realm;
-
- krb5_override_default_realm = optarg;
+ extern krb5_context telnet_context;
+
+ if (telnet_context == 0)
+ krb5_init_context(&telnet_context);
+ krb5_set_default_realm(telnet_context, optarg);
break;
}
#endif /* KRB5 */