lists.arthurdejong.org
RSS feed

Re: Mapping question.

[Date Prev][Date Next] [Thread Prev][Thread Next]

Re: Mapping question.



On Tue, 2015-10-20 at 16:31 -0400, eRIC wrote:
> I’m trying to login into an embedded system using nss-pam-ldapd.
>  
> So I am at the point where it is able to contact the server but it
> always return :
>  
> nslcd: [334873] DEBUG: connection from pid=2811 uid=0 gid=0
> nslcd: [334873]  DEBUG: 
> myldap_search(base="ou=users,ou=ion,dc=ionharris,dc=com", 
> filter="(&(objectClass=posixAccount)(uid=sleduc))")
> nslcd: [334873] <passwd="sleduc"> DEBUG: ldap_result(): end of results (0 
> total)
[...] 
> I’m pretty sure it has to do with the a map configuration but I can’t
> figure how to use it or to configure it.

nslcd is using the uid attribute for the user name which should be
correct for most common LDAP servers. If you can post an ldapsearch
command with output of a result entry, it should be pretty simple to
set the correct mapping.

The default attribute mapping is described in the README.

Kind regards,

-- 
-- 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/