summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Traina <pst@FreeBSD.org>1996-09-21 18:01:23 +0000
committerPaul Traina <pst@FreeBSD.org>1996-09-21 18:01:23 +0000
commit39ea627d628db641e136eb08db4e5f3117642193 (patch)
treec1594dee9df21368508e76549bc4efae8bfa4225 /lib
parent0db7abdd7236050afb428b2480242b136401a0b6 (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libpam/modules/pam_kerberosIV/klogin.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/libpam/modules/pam_kerberosIV/klogin.c b/lib/libpam/modules/pam_kerberosIV/klogin.c
index 934cb91c2678..4263786e504a 100644
--- a/lib/libpam/modules/pam_kerberosIV/klogin.c
+++ b/lib/libpam/modules/pam_kerberosIV/klogin.c
@@ -67,18 +67,20 @@ klogin(pw, instance, localhost, password)
char *instance, *localhost, *password;
{
int kerror;
- AUTH_DAT authdata;
- KTEXT_ST ticket;
- struct hostent *hp;
- unsigned long faddr;
char realm[REALM_SZ], savehost[MAXHOSTNAMELEN];
char tkt_location[MAXPATHLEN];
char *krb_get_phost();
extern int noticketsdontcomplain;
-#ifdef KLOGIN_PARANOID
+#ifdef KLOGIN_PARANOID
+ AUTH_DAT authdata;
+ KTEXT_ST ticket;
+ struct hostent *hp;
+ unsigned long faddr;
+
noticketsdontcomplain = 0; /* enable warning message */
#endif
+
/*
* Root logins don't use Kerberos.
* If we have a realm, try getting a ticket-granting ticket