[s-x86] Re: OpenSSH 1.2pre14 fails on pam_open_session() ...

patrick.novak at po.state.ct.us patrick.novak at po.state.ct.us
Tue Nov 30 07:23:53 EST 1999


On Mon, 22 Nov 1999, Philip Brown wrote:

> [ Marc G. Fournier writes ]
> >   debug("PAM_retval(open_session) about to run");
> >   pam_retval = pam_open_session((pam_handle_t *)pamh, 0);
>
> >
> > ===========================================
> >
> > so, its looking like I'm authenticated properly, but when trying to set
up
> > the whole environment, its failing...?  anyone know how I should go
about
> > debugging this?
>
> well its obviously blowing up on pam_open_session, so you need to
validate
> your "pamh" handle somehow.

thank you, and how would one do this?  considering that my 'pamh' handle
is being used three times prior to that, in:

    pam_retval = pam_set_item((pam_handle_t *)pamh, PAM_RHOST,
remote_host);
    pam_retval = pam_set_item((pam_handle_t *)pamh, PAM_RUSER,
remote_user);
    pam_retval = pam_acct_mgmt((pam_handle_t *)pamh, 0);

all in the same function, I would have thought that this would have been
okay...all of the above go through successfully...

my only real "reference" for PAM is wu-ftpd, in which the pam
authentication stuff all works, but the pam_* functions that wu-ftpd uses
doesn't appear to be even close to what is used in sshd.c :(

Marc G. Fournier                                 marc.fournier at acadiau.ca
Senior Systems Administrator                            Acadia University

  "These are my opinions, which are not necessarily shared by my employer"


------------------------------------------------------------------------
Looking for the lowest rate for your mortgage? GetSmart.com can help.
We'll help you find the loan you need quick, easy, and FREE click here
at http://clickhere.egroups.com/click/1276


-- Create a poll/survey for your group!
-- http://www.egroups.com/vote?listname=solarisonintel&m=1 






More information about the openssh-unix-dev mailing list