[3196] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

pending/941: BUG?

daemon@ATHENA.MIT.EDU (Michael Bischof)
Tue Apr 10 19:21:52 2001

Resent-From: gnats@rt-11.mit.edu (GNATS Management)
Resent-To: gnats-admin@rt-11.mit.edu
Resent-Reply-To: krb5-bugs@MIT.EDU, "Michael Bischof" <mb@byteworks.ch>
Message-Id: <002d01c0c214$d531f790$4e1fd7d4@roadrunner>
Date: Wed, 11 Apr 2001 01:20:29 +0200
From: "Michael Bischof" <mb@byteworks.ch>
To: <krb5-bugs@mit.edu>


>Number:         941
>Category:       pending
>Synopsis:       BUG?
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin
>State:          open
>Class:          sw-bug
>Submitter-Id:   unknown
>Arrival-Date:   Tue Apr 10 19:21:00 EDT 2001
>Last-Modified:
>Originator:
>Organization:
>Release:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted:
Hello,

I had problems get MIT Kerberos 1.2.2 and pam_krb5 working under Solaris 8.

Everything worked fine except that I couldn't lock the screen under CDE.
After some debugging I found out that the pam_krb5 module
called the kerberos function << krb5_init_context >> and that this function
doesnt return...

I used << truss >> to find out some more details:

2061: access("/etc/krb5.conf", 2) Err#13 EACCES=0A=
2061: fstat64(12, 0xFE20B0A0) =3D 0=0A=
2061: ioctl(12, TCGETA, 0xFE20B02C) Err#25 ENOTTY=0A=
2061: read(12, " #\n #   / e t c / k r b".., 8192) =3D 688=0A=
2061: read(12, 0x000BDE0C, 8192) =3D 0=0A=
2061: llseek(12, 0, SEEK_CUR) =3D 688=0A=
2061: close(12) =3D 0=0A=
2061: stat("/usr/local/etc/krb5.conf", 0xFE20B288) Err#2 ENOENT=0A=
2061: getpid() =3D 2061 [2047]=0A=
2061: stat("/etc/krb5.conf", 0xFE20B2F8) =3D 0=0A=
2061: stat("/usr/local/etc/krb5.conf", 0xFE20B2F8) Err#2 ENOENT=0A=
2061:     Incurred fault #6, FLTBOUNDS  %pc =3D 0xFE57CF44=0A=
2061:       siginfo: SIGSEGV SEGV_MAPERR addr=3D0x00000014=0A=
2061:     Received signal #11, SIGSEGV [caught]=0A=
2061:       siginfo: SIGSEGV SEGV_MAPERR addr=3D0x00000014=0A=
2061: sigprocmask(SIG_SETMASK, 0xFEDEF010, 0x00000000) =3D 0=0A=
2061: sigaction(SIGSEGV, 0xFE20AEA8, 0x00000000) =3D 0=0A=
2061: sigprocmask(SIG_SETMASK, 0xFEDFADE0, 0x00000000) =3D 0=0A=
2061: setcontext(0xFE20AD68)=0A=
2061:     Incurred fault #6, FLTBOUNDS  %pc =3D 0xFE57CF44=0A=
2061:       siginfo: SIGSEGV SEGV_MAPERR addr=3D0x00000014=0A=
2061:     Received signal #11, SIGSEGV [default]=0A=
2061:       siginfo: SIGSEGV SEGV_MAPERR addr=3D0x00000014=0A=
2061: *** process killed ***=0A=

As you can see, the process crashes while executing
stat("/usr/local/etc/krb5.conf", ...)

After changing the directive DEFAULT_PROFILE_PATH to "/etc/krb5.conf" in the
file .../stock/osconf.h
Everything worked fine!

So I'm not sure, but I think this is a bug?!

Please ask if you have any questions.


I used:
- MIT Kerberos 1.2.2
- Solaris 8 with latest recommended patches
- pam_krb5 1.0 (http://www.fcusack.com/)
- gcc 2.95.2


Regards,

    Michael.


home help back first fref pref prev next nref lref last post