From: "Ryan Henry [mailing list]" <ryan.henry.ml@EPSIIA.com>
To: gentoo-dev@gentoo.org
Cc: Mark Bainter <mark-gt@cymry.org>
Subject: Re: [gentoo-dev] SSH, PAM, and LDAP
Date: Tue, 22 Apr 2003 07:56:14 -0500 [thread overview]
Message-ID: <3EA53BEE.7080403@EPSIIA.com> (raw)
In-Reply-To: <20030421234808.GG2114@firinn.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am using ldap authentication with pam and ssh works fine. I have not
tested the password expiration stuff but I do have the create home
directory working. I also have priveledge separation turned off in my
sshd_config. To get this working I added this to /etc/pam.d/system-auth
auth sufficient /lib/security/pam_ldap.so use_first_pass
account sufficient /lib/security/pam_ldap.so
password sufficient /lib/security/pam_ldap.so use_authtok
session required /lib/security/pam_mkhomedir.so skel=/etc/skel/
umask=0077
session optional /lib/security/pam_ldap.so
Hope that helps,
- -Ryan
Mark Bainter wrote:
|Ok, I have recently gotten LDAP working for most of the stuff I want it
to do,
|and proceeded to move authentication to it. In doing so I have
discovered that
|OpenSSH does not play nice with PAM + LDAP.
|
|priviledge seperation rewrite broke PAM pretty severely. None of the
password
|expiry stuff works anymore, and neither does the create home dirs option.
|
|I've already tried simply disabling the PrivSep stuff, but the problem goes
|deeper than that, so it doesn't help. Everything else (telnet/ftp/etc)
works
|fine, it's only ssh that's giving me fits.
|
|I'm sure I'm not the only one with a setup like this. If someone else
|on the list is running in a configuration of this nature and has gotten
|ssh working, I'd appreciate a pointer to the information that got you past
|this.
|
|Thanks.
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE+pTvuduH5kxQ36MARAqFbAJ4zWinjU/sX1ip6a2ptfVXB3lzvggCdE+Ql
1WXs1YKSntuVW6p5Hn4nejw=
=0MTF
-----END PGP SIGNATURE-----
--
gentoo-dev@gentoo.org mailing list
next prev parent reply other threads:[~2003-04-22 12:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-21 23:48 [gentoo-dev] SSH, PAM, and LDAP Mark Bainter
2003-04-22 12:56 ` Ryan Henry [mailing list] [this message]
2003-04-22 13:59 ` Mark Bainter
2003-04-22 22:07 ` Grant Goodyear
2003-04-23 1:16 ` Mark Bainter
[not found] ` <1051050155.20764.4.camel@tux>
2003-04-23 1:51 ` Grant Goodyear
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=3EA53BEE.7080403@EPSIIA.com \
--to=ryan.henry.ml@epsiia.com \
--cc=gentoo-dev@gentoo.org \
--cc=mark-gt@cymry.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