RE: Problems with ksu in krb5-1.4.1 - Kerberos

This is a discussion on RE: Problems with ksu in krb5-1.4.1 - Kerberos ; This is on Solaris 8. I've passed the patch on. Thanks. R > -----Original Message----- > From: kerberos-bounces@mit.edu > [mailto:kerberos-bounces@mit.edu] On Behalf Of Ken Raeburn > Sent: Wednesday, June 15, 2005 3:19 PM > To: Garrett Wollman > Cc: kerberos@mit.edu ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: RE: Problems with ksu in krb5-1.4.1

  1. RE: Problems with ksu in krb5-1.4.1

    This is on Solaris 8.

    I've passed the patch on. Thanks.
    R

    > -----Original Message-----
    > From: kerberos-bounces@mit.edu
    > [mailto:kerberos-bounces@mit.edu] On Behalf Of Ken Raeburn
    > Sent: Wednesday, June 15, 2005 3:19 PM
    > To: Garrett Wollman
    > Cc: kerberos@mit.edu
    > Subject: Re: Problems with ksu in krb5-1.4.1
    >
    >
    > On Jun 15, 2005, at 13:58, Garrett Wollman wrote:
    > > In article ,
    > > Heilke, Rainer wrote:
    > >
    > >> ksu does not appear to be doing anything odd to the

    > credentials cache,
    > >> so why would the sessions freeze like this ?

    > >
    > > I wouldn't be surprised if it were related to the bug which causes
    > > this:
    > >
    > > wollman@isfahel(1)$ ksu
    > > Authenticated wollman@CSAIL.MIT.EDU
    > > Account root: authorization for wollman@CSAIL.MIT.EDU successful
    > > Changing uid to root (0)
    > > root@isfahel# exit
    > > Assertion failed: ((&_m->os)->initialized ==
    > > K5_MUTEX_DEBUG_INITIALIZED), function krb5_fcc_destroy, file
    > > cc_file.c, line 1526.
    > > Abort trap

    >
    > I suspect they're different problems, but I'm investigating.
    > I've just
    > run into the freezing problem on one of my machines.
    >
    > For the assertion-failed problem, could you please try the attached
    > patch and let me know if it fixes it? (BTW, which OS is this on?)
    >
    > Ken
    >
    >


    ________________________________________________
    Kerberos mailing list Kerberos@mit.edu
    https://mailman.mit.edu/mailman/listinfo/kerberos


  2. Re: Problems with ksu in krb5-1.4.1

    On Jun 15, 2005, at 18:00, Heilke, Rainer wrote:
    > This is on Solaris 8.
    >
    > I've passed the patch on. Thanks.


    That patch was for a thread support problem that I thought might've
    been Garrett Wollman's problem.

    This patch to src/lib/krb5/ccache/cc_file.c should fix your problem.
    It might also fix the problem he ran into, I'm not sure. Please let me
    know...

    Ken

    Index: cc_file.c
    ================================================== =================
    RCS file: /cvs/krbdev/krb5/src/lib/krb5/ccache/cc_file.c,v
    retrieving revision 5.45
    diff -p -u -r5.45 cc_file.c
    --- cc_file.c 13 Apr 2005 16:55:40 -0000 5.45
    +++ cc_file.c 15 Jun 2005 22:58:03 -0000
    @@ -1459,7 +1459,7 @@ static krb5_error_code dereference(krb5_
    kerr = k5_mutex_lock(&krb5int_cc_file_mutex);
    if (kerr)
    return kerr;
    - for (fccsp = &fccs; *fccsp == NULL; fccsp = &(*fccsp)->next)
    + for (fccsp = &fccs; *fccsp != NULL; fccsp = &(*fccsp)->next)
    if ((*fccsp)->data == data)
    break;
    assert(*fccsp != NULL);

    ________________________________________________
    Kerberos mailing list Kerberos@mit.edu
    https://mailman.mit.edu/mailman/listinfo/kerberos


+ Reply to Thread