RSS feed

Fwd: map group uniqueMember sAMAccountName

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

Fwd: map group uniqueMember sAMAccountName

sorry i meant for the mailing list!

If you have time to help!

passwd:         compat ldap
group:          compat ldap
shadow:         compat ldap
gshadow:        files

hosts:          files dns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis

filter passwd (&(objectClass=user)(!(objectClass=computer))(uidNumber=*)(unixHomeDirectory=*))
map    passwd uid              sAMAccountName
map    passwd homeDirectory    unixHomeDirectory
map    passwd gecos            displayName
map     passwd gidNumber        gidNumber
filter shadow (&(objectClass=user)(!(objectClass=computer))(uidNumber=*)(unixHomeDirectory=*))
map    shadow uid              sAMAccountName
map    shadow shadowLastChange pwdLastSet
filter group  (objectClass=group)
map     group   member  sAMAccountName

why still is not showing up with my group name?
drwxr-xr-x  4 root     root  4096 Feb  8 00:14 .
drwxr-xr-x 22 root     root  4096 Feb  9 02:46 ..
drwxr-xr-x  7 patrikx3 10000 4096 Feb  9 21:35 patrikx3
drwxr-xr-x  5 root     root  4096 Feb  7 04:17 samba

How can I make it be patrikx3 as the group  name? Is it an error?


alabard [at]



On Thu, Feb 9, 2017 at 11:50 PM, Patrik Laszlo <alabard [at]> wrote:
you are the boss!

thanks you so much!

On 02/09/2017 11:49 PM, Arthur de Jong wrote:
On Thu, 2017-02-09 at 23:08 +0100, Patrik wrote:
unknown attribute to map: 'uniqueMember

How can I fix it?
Since nss-pam-ldapd 0.8.4 the uniqueMember attribute was replaced by
using the member attribute by default. This means that you should use
   map group member sAMAccountName

There is a sample nslcd.conf file that describes some of the mappings
that are possible for various LDAP servers (including AD):

I cannot find the docs for it exact mappings.
The mappings are described in the README:

Kind regards,

To unsubscribe send an email to or see