lists.arthurdejong.org
RSS feed

Re: map group uniqueMember sAMAccountName

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

Re: map group uniqueMember sAMAccountName



Tried these:
map     group   member  sAMAccountName
map     group   memberUid sAMAccountName
map     group   cn      sAMAccountName

Still now showing my group name.
Shows 10000 instead of patrikx3.

What is the problem?



Patrik

GTalk:  
alabard [at] gmail.com

Web:

Mobile:

On Fri, Feb 10, 2017 at 9:35 AM, Patrik <alabard [at] gmail.com> wrote:
sorry i meant for the mailing list!

If you have time to help!

nsswtich:
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

nslcd.conf:
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?



Patrik

GTalk:  
alabard [at] gmail.com

Web:

Mobile:

On Thu, Feb 9, 2017 at 11:50 PM, Patrik Laszlo <alabard [at] gmail.com> 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):
https://arthurdejong.org/git/nss-pam-ldapd/tree/nslcd.conf

I cannot find the docs for it exact mappings.
The mappings are described in the README:
https://arthurdejong.org/git/nss-pam-ldapd/tree/README

Kind regards,





-- 
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
https://lists.arthurdejong.org/nss-pam-ldapd-users/