Re: Openssh, kerberos and Solaris 10

2006-08-12 Thread Glenn Barry
>> libraries in... Not even sure they have GSSAPI at all, maybe just GSS? >> Does anyone have any hints on this, or has anyone ever done it? Or >> maybe a better place to post? > > The Kerberos API was private in Solaris for a long time because there > were concerns about stability of the in

Re: Openssh, kerberos and Solaris 10

2006-08-10 Thread Will Fiveash
On Wed, Aug 09, 2006 at 11:08:11AM -0500, Douglas E. Engert wrote: > Another comment, if the problem is the Solaris 10 sshd is not saving > the forwarded credentials, it could be the pam.conf is not configured > correctly. sshd calls pam with a number of different services names, > including sshd-

Re: Openssh, kerberos and Solaris 10

2006-08-09 Thread Jeffrey Hutzelman
On Wednesday, August 09, 2006 02:55:05 PM -0500 "Douglas E. Engert" <[EMAIL PROTECTED]> wrote: >> __gss_userok() is not; should it be? > > I would say yes. Every service needs to do this, and use the GSS creds > to test if it can use the local resource. So it in that regards it is > generic. A

Re: Openssh, kerberos and Solaris 10

2006-08-09 Thread Nicolas Williams
On Wed, Aug 09, 2006 at 02:55:05PM -0500, Douglas E. Engert wrote: > Nicolas Williams wrote: > >gss_store_cred() is a KITTEN WG work item. > > > >__gss_userok() is not; should it be? > > I would say yes. Every service needs to do this, and use the GSS creds > to test if it can use the local resou

Re: Openssh, kerberos and Solaris 10

2006-08-09 Thread Douglas E. Engert
Nicolas Williams wrote: > On Wed, Aug 09, 2006 at 02:26:57PM -0500, Douglas E. Engert wrote: > >> >>Nicolas Williams wrote: >> >> >>>On Wed, Aug 09, 2006 at 09:52:51AM -0500, Douglas E. Engert wrote: >>> >>> Markus Moeller wrote: >There shouldn't be the need of compiling opens

Re: Openssh, kerberos and Solaris 10

2006-08-09 Thread Douglas E. Engert
Erich Weiler wrote: > > 1: I want SSH to automatically forward my krb5 credentials when I SSH > into another machine using public keys. > Don't think OpenSSH will do this either with out mods. > > > Kerberos mailing list Kerberos

Re: Openssh, kerberos and Solaris 10

2006-08-09 Thread Nicolas Williams
On Wed, Aug 09, 2006 at 02:26:57PM -0500, Douglas E. Engert wrote: > > > Nicolas Williams wrote: > > >On Wed, Aug 09, 2006 at 09:52:51AM -0500, Douglas E. Engert wrote: > > > >>Markus Moeller wrote: > >> > >>>There shouldn't be the need of compiling openssh with Kerberos as the > >>>Solaris 10

Re: Openssh, kerberos and Solaris 10

2006-08-09 Thread Douglas E. Engert
Nicolas Williams wrote: > On Wed, Aug 09, 2006 at 09:52:51AM -0500, Douglas E. Engert wrote: > >>Markus Moeller wrote: >> >>>There shouldn't be the need of compiling openssh with Kerberos as the >>>Solaris 10 version supports GSSAPI authentication. >> >>Yes and no. Until you want to store the

Re: Openssh, kerberos and Solaris 10

2006-08-09 Thread Jeffrey Hutzelman
On Wednesday, August 09, 2006 11:56:07 AM -0500 Nicolas Williams <[EMAIL PROTECTED]> wrote: > On Wed, Aug 09, 2006 at 09:36:30AM -0700, Erich Weiler wrote: >> I am getting credentials through PAM. That much is working. My >> problem, very specifically, is that: >> >> 1: I want SSH to automati

Re: Openssh, kerberos and Solaris 10

2006-08-09 Thread Nicolas Williams
On Wed, Aug 09, 2006 at 09:52:51AM -0500, Douglas E. Engert wrote: > Markus Moeller wrote: > > There shouldn't be the need of compiling openssh with Kerberos as the > > Solaris 10 version supports GSSAPI authentication. > > Yes and no. Until you want to store the delegated credential or do a > kr

Re: Openssh, kerberos and Solaris 10

2006-08-09 Thread Nicolas Williams
On Wed, Aug 09, 2006 at 09:36:30AM -0700, Erich Weiler wrote: > I am getting credentials through PAM. That much is working. My > problem, very specifically, is that: > > 1: I want SSH to automatically forward my krb5 credentials when I SSH > into another machine using public keys. This makes

Re: Openssh, kerberos and Solaris 10

2006-08-09 Thread Erich Weiler
> You fundamentally misunderstand how network authentication and > credential forwarding work. No, I think I do understand it. All you have written below are steps I have taken and am sorted with. Perhaps I'm not making myself very clear in describing the problem I'm having (which I can certai

Re: Openssh, kerberos and Solaris 10

2006-08-09 Thread Nicolas Williams
On Wed, Aug 09, 2006 at 08:24:22AM -0700, Erich Weiler wrote: > The main reason I need to compile OpenSSH with krb5 is because the way I > have it working currently, OpenSSH using PAM, does not does _forward_ > krb5 creds when SSHing to another machine. I have seen OpenSSH using > GSS-API auth

Re: Openssh, kerberos and Solaris 10

2006-08-09 Thread Douglas E. Engert
Another comment, if the problem is the Solaris 10 sshd is not saving the forwarded credentials, it could be the pam.conf is not configured correctly. sshd calls pam with a number of different services names, including sshd-password, sshd-gssapi, sshd-kdbint. (If one of these is not found, other is

Re: Openssh, kerberos and Solaris 10

2006-08-09 Thread Douglas E. Engert
Erich Weiler wrote: >> With OpenSSH-4.1 at least ssh_gssapi_krb5_storecreds and >> ssh_gssapi_krb5_userok make krb5 API calls as gss never had a simple >> authz function or a way to save the delegated creds. >> >> Solaris 10's sshd uses PAM, to do these. OpenSSH should look at that >> approach t

Re: Openssh, kerberos and Solaris 10

2006-08-09 Thread Erich Weiler
> With OpenSSH-4.1 at least ssh_gssapi_krb5_storecreds and > ssh_gssapi_krb5_userok make krb5 API calls as gss never had a simple > authz function or a way to save the delegated creds. > > Solaris 10's sshd uses PAM, to do these. OpenSSH should look at that > approach too, then it would not need K

Re: Openssh, kerberos and Solaris 10

2006-08-09 Thread Douglas E. Engert
Markus Moeller wrote: > There shouldn't be the need of compiling openssh with Kerberos as the > Solaris 10 version supports GSSAPI authentication. Yes and no. Until you want to store the delegated credential or do a krb5_userok test. With OpenSSH-4.1 at least ssh_gssapi_krb5_storecreds and ss

Re: Openssh, kerberos and Solaris 10

2006-08-09 Thread Douglas E. Engert
Erich Weiler wrote: > Hi all- > > I'm not sure this is the correct place to post about this but I'm > getting no response over an OpenSSH.org, if there is a more appropriate > place to post please let me know... And the people at Sun scream at me > for even considering openssh when they supp

Re: Openssh, kerberos and Solaris 10

2006-08-09 Thread Douglas E. Engert
P.S. I should say we are using the Solaris ssh and sshd, as well as their pam_krb5. But there are issues with the pam_krb5 with using session based caches rather then user, and updating of the TGT but leaving older tickets in the cache. Erich Weiler wrote: > Hi all- > > I'm not sure this is the

Re: Openssh, kerberos and Solaris 10

2006-08-09 Thread Markus Moeller
There shouldn't be the need of compiling openssh with Kerberos as the Solaris 10 version supports GSSAPI authentication. Markus "Erich Weiler" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all- > > I'm not sure this is the correct place to post about this but I'm > getting no

Re: Openssh, kerberos and Solaris 10

2006-08-08 Thread Erich Weiler
Crud, I was hoping you wouldn't say that... :( -erich Will Fiveash wrote: > On Tue, Aug 08, 2006 at 04:49:14PM -0700, Erich Weiler wrote: >> Hi all- >> >> I'm not sure this is the correct place to post about this but I'm >> getting no response over an OpenSSH.org, if there is a more appropriate

Re: Openssh, kerberos and Solaris 10

2006-08-08 Thread Will Fiveash
On Tue, Aug 08, 2006 at 04:49:14PM -0700, Erich Weiler wrote: > Hi all- > > I'm not sure this is the correct place to post about this but I'm > getting no response over an OpenSSH.org, if there is a more appropriate > place to post please let me know... And the people at Sun scream at me > for

Re: Openssh, kerberos and Solaris 10

2006-08-08 Thread Luke Howard
>libraries in... Not even sure they have GSSAPI at all, maybe just GSS? > Does anyone have any hints on this, or has anyone ever done it? Or >maybe a better place to post? Solaris supports GSS-API but does not expose the Kerberos API or any of the Kerberos mechanism-specific extensions. So w

Openssh, kerberos and Solaris 10

2006-08-08 Thread Erich Weiler
Hi all- I'm not sure this is the correct place to post about this but I'm getting no response over an OpenSSH.org, if there is a more appropriate place to post please let me know... And the people at Sun scream at me for even considering openssh when they supply their own version of SSH which