Date: Mon, 14 Nov 2016 11:32:07 +0100 (CET) From: Ronny Forberger <ronnyforberger@ronnyforberger.de> To: =?UTF-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> Cc: Alan Hicks via freebsd-security <freebsd-security@freebsd.org> Subject: Re: I have no name prompt and no passwords recognized Message-ID: <2044110189.404917.1479119527631.JavaMail.open-xchange@app09.ox.hosteurope.de> In-Reply-To: <8660nq9zum.fsf@desk.des.no> References: <585949692.395252.1478970441730.JavaMail.open-xchange@app04.ox.hosteurope.de> <0ebb4aa6-58bd-4420-42fb-ba8bc2383243@p-o.co.uk> <1398329212.417534.1479032950521.JavaMail.open-xchange@app03.ox.hosteurope.de> <1177095935.420844.1479053158201.JavaMail.open-xchange@app03.ox.hosteurope.de> <8660nq9zum.fsf@desk.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
=20 > Dag-Erling Sm=C3=B8rgrav <des@des.no> hat am 14. November 2016 um 10:26 > geschrieben: > > > Ronny Forberger <ronnyforberger@ronnyforberger.de> writes: > > # auth > > auth sufficient pam_opie.so no_warn no_fake_prompts > > auth requisite pam_opieaccess.so no_warn allow_local > > #auth sufficient pam_krb5.so no_warn try_first_pass > > #auth sufficient pam_ssh.so no_warn try_first_pass > > auth sufficient /usr/local/lib/pam_sss.so > > auth required pam_unix.so no_warn try_first_pass nullok > > I don't have the answer to your question, but I'd like to point out that > you don't need to include the full path to the module. PAM will look in > /usr/local/lib if it can't find the module in /usr/lib. You can even > leave out the .so suffix (since OpenPAM Nummularia / FreeBSD 9.3) ok > > Two other things: 1) make sure the service you're trying to use actually > uses the system policy or a policy that includes it (sshd doesn't) and =20 I am using sudo with password and it should use the system policy. > 2) if you add the "debug" keyword to every pam_sss line in your PAM > policy, OpenPAM will log every call to the pam_sss module, everything it > does on behalf of that module, and the outcome of the call through > syslog (by default, it should go to /var/log/debug.log). =20 My /var/log/debug.log only says: =20 Nov 13 17:31:59 macy sudo: in openpam_dispatch(): /usr/local/lib/pam_sss.so= : pam_sm_authenticate(): authentication error Nov 13 17:32:01 macy su: in openpam_dispatch(): calling pam_sm_setcred() in /usr/local/lib/pam_sss.so Nov 13 17:32:01 macy su: in pam_get_item(): entering: PAM_SERVICE Nov 13 17:32:01 macy su: in pam_get_item(): returning PAM_SUCCESS Nov 13 17:32:01 macy su: in pam_get_item(): entering: PAM_USER Nov 13 17:32:01 macy su: in pam_get_item(): returning PAM_SUCCESS Nov 13 17:32:01 macy su: in pam_get_item(): entering: PAM_TTY Nov 13 17:32:01 macy su: in pam_get_item(): returning PAM_SUCCESS Nov 13 17:32:01 macy su: in pam_get_item(): entering: PAM_RUSER Nov 13 17:32:01 macy su: in pam_get_item(): returning PAM_SUCCESS Nov 13 17:32:01 macy su: in pam_get_item(): entering: PAM_RHOST Nov 13 17:32:01 macy su: in pam_get_item(): returning PAM_SUCCESS Nov 13 17:32:01 macy su: in pam_get_item(): entering: PAM_AUTHTOK Nov 13 17:32:01 macy su: in pam_get_item(): returning PAM_SUCCESS Nov 13 17:32:01 macy su: in pam_get_item(): entering: PAM_OLDAUTHTOK Nov 13 17:32:01 macy su: in pam_get_item(): returning PAM_SUCCESS Nov 13 17:32:01 macy su: in pam_set_data(): entering: 'pam_sss:fd_destructo= r' Nov 13 17:32:01 macy su: in pam_set_data(): returning PAM_SUCCESS Nov 13 17:32:01 macy su: in openpam_dispatch(): /usr/local/lib/pam_sss.so: pam_sm_setcred(): success =20 What can be wrong? =20 Best regards, Ronny > > DES > -- > Dag-Erling Sm=C3=B8rgrav - des@des.no > _______________________________________________ > freebsd-security@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-security > To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.or= g" ___________________________________ Ronny Forberger ronnyforberger at ronnyforberger.de PGP: http://www.ronnyforberger.de/pgp/email-encryption.html From owner-freebsd-security@freebsd.org Mon Nov 14 11:34:41 2016 Return-Path: <owner-freebsd-security@freebsd.org> Delivered-To: freebsd-security@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 88592C4146C for <freebsd-security@mailman.ysv.freebsd.org>; Mon, 14 Nov 2016 11:34:41 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 50295136 for <freebsd-security@freebsd.org>; Mon, 14 Nov 2016 11:34:40 +0000 (UTC) (envelope-from des@des.no) Received: from desk.des.no (smtp.des.no [194.63.250.102]) by smtp.des.no (Postfix) with ESMTP id 93F78B9EA; Mon, 14 Nov 2016 11:34:39 +0000 (UTC) Received: by desk.des.no (Postfix, from userid 1001) id 68E75421F; Mon, 14 Nov 2016 12:34:34 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> To: Ronny Forberger <ronnyforberger@ronnyforberger.de> Cc: Alan Hicks via freebsd-security <freebsd-security@freebsd.org> Subject: Re: I have no name prompt and no passwords recognized References: <585949692.395252.1478970441730.JavaMail.open-xchange@app04.ox.hosteurope.de> <0ebb4aa6-58bd-4420-42fb-ba8bc2383243@p-o.co.uk> <1398329212.417534.1479032950521.JavaMail.open-xchange@app03.ox.hosteurope.de> <1177095935.420844.1479053158201.JavaMail.open-xchange@app03.ox.hosteurope.de> <8660nq9zum.fsf@desk.des.no> <2044110189.404917.1479119527631.JavaMail.open-xchange@app09.ox.hosteurope.de> Date: Mon, 14 Nov 2016 12:34:34 +0100 In-Reply-To: <2044110189.404917.1479119527631.JavaMail.open-xchange@app09.ox.hosteurope.de> (Ronny Forberger's message of "Mon, 14 Nov 2016 11:32:07 +0100 (CET)") Message-ID: <861sye9tx1.fsf@desk.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Security issues \[members-only posting\]" <freebsd-security.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-security>, <mailto:freebsd-security-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-security/> List-Post: <mailto:freebsd-security@freebsd.org> List-Help: <mailto:freebsd-security-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-security>, <mailto:freebsd-security-request@freebsd.org?subject=subscribe> X-List-Received-Date: Mon, 14 Nov 2016 11:34:41 -0000 Ronny Forberger <ronnyforberger@ronnyforberger.de> writes: > My /var/log/debug.log only says: > > Nov 13 17:31:59 macy sudo: in openpam_dispatch(): /usr/local/lib/pam_sss.= so: pam_sm_authenticate(): authentication error There's a whole lot missing here. It should start with "calling pam_sm_authenticate()". DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2044110189.404917.1479119527631.JavaMail.open-xchange>