Date: Tue, 18 Mar 2008 09:48:56 +0100 From: "Valerio Daelli" <valerio.daelli@gmail.com> To: "Daniel Bond" <db@danielbond.org>, freebsd-stable@freebsd.org Subject: Re: Problems combining nss_ldap/pam_ldap with pam_mkhomedir in FreeBSD 7.0 Message-ID: <27dbfc8c0803180148q3aa8323ev8a06a25eef46257f@mail.gmail.com> In-Reply-To: <47DE9638.6080609@danielbond.org> References: <47DE9638.6080609@danielbond.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 17, 2008 at 5:03 PM, Daniel Bond <db@danielbond.org> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > Now, if I uncomment the line with pam_mkhomedir.so on it, logins stop to > work. In /var/log/auth.log I now see two lines appearing: > > Mar 17 16:46:40 webmail sshd[98923]: nss_ldap: could not search LDAP > server - Server is unavailable > Mar 17 16:46:40 webmail sshd[98923]: error: PAM: pam_open_session(): > error in service module Hi not sure if this may solve your problem. We found a similar problem on FreeBSD 7.0 with pam_mkhomedir.so and sshd. We solved using pam_exec.so and a custom shell script to create the home directories. Hope this help Valerio Daelli
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?27dbfc8c0803180148q3aa8323ev8a06a25eef46257f>