git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1187 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-01-24 23:13:35 +00:00
parent 7984aaf260
commit 3d7c57acdb
18 changed files with 467 additions and 566 deletions

View File

@@ -80,7 +80,7 @@ RCSID("$Id$");
#include "auth.h"
#include "misc.h"
int kerberos4_cksum P((unsigned char *, int));
int kerberos4_cksum (unsigned char *, int);
extern int auth_debug_mode;
static unsigned char str_data[1024] = { IAC, SB, TELOPT_AUTHENTICATION, 0,
@@ -306,9 +306,12 @@ kerberos4_is(Authenticator *ap, unsigned char *data, int cnt)
Data(ap, KRB_REJECT, NULL, 0);
sprintf (msg, "user `%s' is not authorized to "
"login as `%s'",
#if 0
krb_unparse_name_long(adat.pname,
adat.pinst,
adat.prealm),
#endif
NULL,
UserNameRequested);
Data(ap, KRB_REJECT, (void *)msg, -1);