search for: krb4_init

Displaying 2 results from an estimated 2 matches for "krb4_init".

Did you mean: cr4_init
2003 Mar 12
1
[Bug 508] Krb4/AFS token passing doesn't work because of mkstemp
...OpenSSH Version: -current Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: sshd AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: ksulliva at psc.edu In auth-krb4.c, in krb4_init(), we have: if ((fd = mkstemp(authctxt->krb4_ticket_file)) != -1) { which tries to create a temporary file to hold kerberos tickets. This file is created some lines above by: snprintf(authctxt->krb4_ticket_file, MAXPATHLEN, "%s%u_%ld", So, mkstemp() is passes somet...
2002 Jan 24
1
PATCH: krb4/krb5/... names/patterns in auth_keys entries
...led."); Index: 3_0_2p1.1/auth-krb4.c --- 3_0_2p1.1/auth-krb4.c Wed, 21 Nov 2001 10:38:46 -0500 +++ 3_0_2p1_w_named_keys.1(w)/auth-krb4.c Thu, 24 Jan 2002 10:52:24 -0500 @@ -40,6 +40,7 @@ #ifdef KRB4 extern ServerOptions options; +int user_key_allowed(struct passwd *, Key *); static int krb4_init(void *context) @@ -220,6 +221,7 @@ socklen_t slen; u_int cksum; int r, s; + Key k; s = packet_get_connection_in(); @@ -249,12 +251,27 @@ *adat.pinst ? "." : "", adat.pinst, adat.prealm); /* Check ~/.klogin authorization now. */ - if (kuserok(&adat, a...