lists.arthurdejong.org
RSS feed

Re: [nssldap] fetching user details from a ldap entry which consists of an objectClass other than posixAccount

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

Re: [nssldap] fetching user details from a ldap entry which consists of an objectClass other than posixAccount



Thanks for the prompt reply. This option works perfectly. I somehow did not understand this option properly and tried it out but did not put in the correct configuration. But now it works great.

- Rahul.


Rechenberg, Andrew wrote:
You have to compile nss_ldap with schema attribute mapping enabled (it
might be enabled by default now) and add an entry to libnss-ldap.conf or
ldap.conf :

nss_map_objectclass posixAccount sCSPerson



-----Original Message-----
From: owner-nssldap@padl.com [owner-nssldap [at] padl.com] On Behalf
Of amaramrahul
Sent: Monday, April 06, 2009 9:04 AM
To: nssldap@padl.com
Subject: [nssldap] fetching user details from a ldap entry which
consists of an objectClass other than posixAccount


I am using libnss-ldap in Debian Lenny. My LDAP user account entry
does
not
contain the objectClass posixAccount. Instead it belongs to another
objectClass sCSPerson. Adding both the object classes to the user
account
entry is not an option. I would like to know the configuration
parameter
to
be used in libnss-ldap.conf so that the user details are fetched from
the
entries whose objectClass is sCSPerson rather than posixAccount. I
have
tried the below configuration parameter but it does not work:

nss_base_passwd
ou=People,dc=synovel,dc=com?sub?objectClass=sCSPerson

Are there any other means of achieving the same?


Confidentiality Notice: This e-mail message including attachments, if any, is 
intended only for the person or entity to which it is addressed and may contain 
confidential and/or privileged material. Any unauthorized review, use, 
disclosure or distribution is prohibited. If you are not the intended 
recipient, please contact the sender by reply e-mail and destroy all copies of 
the original message. If you are the intended recipient, but do not wish to 
receive communications through this medium, please so advise the sender 
immediately.