From: "hackmiester (Hunter Fuller)" <hackmiester@hackmiester.com>
To: linux-kernel@vger.kernel.org
Cc: inaki@ploximeth.org
Subject: PAM LDAP auth issue, but only on some apps...???
Date: Mon, 9 Jul 2007 14:58:23 -0500 [thread overview]
Message-ID: <7f30c4c70707091258v12bed301ide0636950a01db86@mail.gmail.com> (raw)
Check this out.
[hack@asuka pam.d]$ sudo -u hfuller echo "testing"
Password:
testing
So I can run commands as an LDAP user hfuller, using sudo.
But!
[hack@asuka pam.d]$ su hfuller
Password:
[hack@asuka pam.d]$
If I try to su to the user, it doesn't work, and it doesn't even error out. And:
Jul 9 10:46:39 asuka su(pam_unix)[13051]: session opened for user
hfuller by (uid=0)
Jul 9 10:46:39 asuka su(pam_unix)[13051]: session closed for user hfuller
A session is opened for my user but then immediately closed. And this
is the error ssh throws:
Jul 9 11:59:18 asuka sshd2[13466]: Remote host disconnected:
Authentication method disabled. (user 'hfuller', client address '1
27.0.0.1:48784', requested service 'ssh-connection')
Jul 9 11:59:18 asuka sshd2[13466]: User authentication failed:
'Authentication method disabled. (user 'hfuller', client address
'127.0.0.1:48784', requested service 'ssh-connection')'
If I try to ssh to localhost using the login hfuller.
If you know stuff about LDAP logins you might be thinking "His LDAP is
broken when using PAM but not NSS."
But here is this test program I was given, that uses PAM libraries...
[hack@asuka pam.d]$ ~hack/check_user
login: hfuller
Password:
PAM said: Success
What?!
Any ideas? This is one of the most confusing problems I've ever had.
--
-hackmiester
reply other threads:[~2007-07-09 19:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7f30c4c70707091258v12bed301ide0636950a01db86@mail.gmail.com \
--to=hackmiester@hackmiester.com \
--cc=inaki@ploximeth.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®