Re: GSSAPIDelegateCredentials fails with a segfault

This is a discussion on Re: GSSAPIDelegateCredentials fails with a segfault within the OpenSSH Development forums, part of the Networking and Network Related category; On 30 Apr 2007, at 17:23, Johan Andersson wrote: > > First off: Have anyone seen this before? No, ...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-30-2007
Simon Wilkinson
 
Posts: n/a
Default Re: GSSAPIDelegateCredentials fails with a segfault


On 30 Apr 2007, at 17:23, Johan Andersson wrote:


>
> First off: Have anyone seen this before?


No, this is the first report I've seen of this problem. Have you made
sure that all of your library dependencies are correct? That is, that
you're building, and running, against the same version of libgssapi.
Unfortunately, some vendors have taken to shipping a libgssapi which
doesn't conform to the GSSAPI API - this often causes segfaults at
unexpected moments.

> Second: Even though I have set the core limit to 100M in
> limits.conf and
> verified that it gets set using strace -f /usr/sbin/sshd, I don't get
> any coredump. Is there any good way of debugging these kind of
> problems?


Privsep makes it pretty tricky to follow through all of the processes
with a debugger. Often the easiest thing to do is to instrument the
code. If it is dying where you think it is, then adding additional
debug statements to ssh_gssapi_krb5_storecreds is the best place to
start. In particular, it's worth seeing if the call to
gss_krb5_copy_ccache is succeeding.

Simon.


_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/lis...enssh-unix-dev
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:43 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0