lists.arthurdejong.org
RSS feed

nslcd cannot use group

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

nslcd cannot use group



Do you know where to put it? Please, and thanks.

Problem:
addgroup www-data patrikx3
Adding user `www-data' to group `patrikx3' ...
gpasswd: group 'patrikx3' does not exist in /etc/group
addgroup: `/usr/bin/gpasswd -a www-data patrikx3' returned error code 3. Exiting.


Config:

ldap_version 3
uid nslcd
gid nslcd
uri             ldaps://patrikx3.tk:636/
ssl             on
tls_reqcert     allow
base            DC=ac,DC=patrikx3,DC=tk
pagesize        1000
referrals       off
nss_nested_groups yes

binddn cn=public,cn=Users,dc=ac,dc=patrikx3,dc=tk
bindpw 12345

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

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