lists.arthurdejong.org
RSS feed

Re: Object class mapping

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

Re: Object class mapping



On Sat, 2014-03-08 at 13:48 +0100, Paul Schreiber wrote:
> after setting up an Ubuntu 12.04 server with nslcd, I need to use the
> object class "myownAccount" instead of "posixAccount" for my users. On
> an older Debian box, I just added
> 
> nss_map_objectlass posixAccount kev9OkvoijhafAv& to /etc/libnss-ldap.conf,
> but how to realize that with nslcd.conf? In the man page, I found the
> section about mapping, but if I understand well, it's the mapping of
> attributes, not object classes.

What you probably need to change is the search filter. You probably need

  filter passwd (objectClass=myownAccount)

ans possibly, if you are using shadow maps:

  filter shadow (objectClass=myownAccount)

Hope this helps.

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