Re: Re:- Obtaining login attributes from ldap server
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
Re: Re:- Obtaining login attributes from ldap server
- From: Arthur de Jong <arthur [at] arthurdejong.org>
- To: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: Re: Re:- Obtaining login attributes from ldap server
- Date: Thu, 12 Jun 2014 21:38:01 +0200
On Wed, 2014-06-11 at 15:28 -0700, Karthik Pr wrote:
> i am having trouble obtain user related info (gid, loginshell, home
> directory) from ldap server.
Could you give some more information on the OS and version of
nss-pam-ldapd you have installed?
> My ldap server entry:
Looks reasonable.
> # /etc/nsswitch.conf
Also looks reasonable. Unless there is a particular reason that you are
using compat (e.g. netgroups, NIS or other special constructs
in /etc/passwd or /etc/group) it is better to use files instead.
> Howoever, I see that the pam_ldap library requests only uid and
> uidnumber from ldap server. The attribute list for the request to ldap
> server does not have loginshell or homedirectory.
Does getent passwd karthik return anything? If you run nslcd in debug
mode, does it log anything? Also see
http://arthurdejong.org/nss-pam-ldapd/setup
for some debugging pointers.
Thanks,
--
-- arthur - arthur@arthurdejong.org - http://arthurdejong.org/ --
--
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users/