Problems combining nss_ldap/pam_ldap with pam_mkhomedir in
FreeBSD 7.0
Valerio Daelli
valerio.daelli at gmail.com
Tue Mar 18 02:14:40 PDT 2008
On Mon, Mar 17, 2008 at 5:03 PM, Daniel Bond <db at 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
More information about the freebsd-stable
mailing list