(Illustration by Gaich Muramatsu)
Hi, I'm trying to install coda-5.3.8 with krb5 support on NetBSD-1.5_ALPHA2 (sparc) and FreeBSD-4.1. I've had a few issues with it, mostly on the kauth2/kclog side... -- in order for kauth2 / kclog to work, i had to change the following in krbsupport.c: @@ -282,8 +282,8 @@ realm = strdup(initrealm); /* generate principal given the service name codaauth */ - retval = krb5_sname_to_principal(coda_auth_krb5context, authserver->h_name, - SRV5PRINC, + retval = krb5_sname_to_principal(coda_auth_krb5context, 0, + 0, KRB5_NT_SRV_HST, &coda_auth_krb5princ); if (retval) { @@ -321,7 +321,7 @@ /* construct a new authenticator, or find an old one */ retval = krb5_mk_req(coda_auth_krb5context, &auth_context, 0, SRV5PRINC, - authserver->h_name, + 0, NULL, ccdef, &authenticator); if (retval) { com_err("krbsupport", retval, "while preparing AP_REQ"); The changes only seem to work with running kclog from the authserver, though. -- I'm also unable to kclog from other hosts in my realm, and am unable to figure out why. Here is what I get in my krb5 log after running "kclog -host <codaserver> -kerberos5": Sep 06 12:45:00 cabal krb5kdc[227](info): TGS_REQ 10.1.255.6(88): UNKNOWN_SERVER: authtime 968269480, scott_at_KBRREALM for host/localhost_at_KRBREALM, Server not found in Kerberos database Sep 06 12:45:00 cabal krb5kdc[227](info): AS_REQ 10.1.255.6(88): ISSUE: authtime 968269500, scott_at_KRBREALM for krbtgt/KRBREAM_at_KRBREALM Sep 06 12:45:03 cabal krb5kdc[227](info): AS_REQ 10.1.255.6(88): ISSUE: authtime 968269503, scott_at_KRBREALM for krbtgt/KRBREAM_at_KRBREAL Sep 06 12:45:03 cabal krb5kdc[227](info): TGS_REQ 10.1.255.6(88): UNKNOWN_SERVER: authtime 968269480, scott_at_KRBREALM for host/localhost_at_KRBREALM, Server not found in Kerberos database -- lastly, I have been getting kernel panics on the NetBSD machine (coda server)... here is what I get on the machine's console (i also have cores): kremlin# panic: free vnode isn't, vp 0xf5058e68 syncing disks... 21 19 15 3 done Frame pointer is at 0xf508d8e0 Call traceback: pc = 0xf01f0f20 args = (0x408000e2, 0x40800fe2, 0x0, 0x9c40, 0xf0224400, 0xf8 pc = 0xf005ea80 args = (0x100, 0x0, 0xf0292c00, 0x0, 0x20000000, 0x100210, 00 pc = 0xf007e6c8 args = (0xf0224308, 0x100, 0xa8d, 0xa8d, 0xf0274800, 0x91, 08 pc = 0xf017f50c args = (0x0, 0xf0692400, 0xf0669200, 0xf508daec, 0x0, 0x20008 pc = 0xf018cf28 args = (0xf0692400, 0x23801, 0xf508db80, 0xf0269ba8, 0xf017f8 pc = 0xf007dac0 args = (0x0, 0x0, 0x0, 0x0, 0xc044, 0x198, 0xf508dba8) fp = 8 pc = 0xf007d408 args = (0x0, 0x20000, 0x20, 0x0, 0x0, 0xf0731800, 0xf508dc288 pc = 0xf0086d48 args = (0x0, 0xf4dcc1f8, 0xf07d6500, 0x1, 0xf507f510, 0xf4dc0 pc = 0xf0082994 args = (0xf508de58, 0x1, 0x0, 0x2, 0x0, 0x91, 0xf508ddc8) fp8 pc = 0xf01fef9c args = (0x0, 0xf508df28, 0xf508df20, 0xf0082908, 0xcb000, 0x0 pc = 0xf00087b0 args = (0x5, 0xf508dfb0, 0x100d5c00, 0xcb000, 0x0, 0x91, 0xf0 pc = 0x14a60 args = (0xefff9694, 0x0, 0x2, 0x0, 0x36c00, 0x36c00, 0xefff28400 dumping to dev 7,9 offset 821455 And here is what I get in /vice/srv/SrvErr (several times): Unknown S2R error translation sys 102, net 4711 -- Any clues? thanks, ScottReceived on 2000-09-06 16:15:39