LDAP不显示辅助组

目前,我有一个LDAP服务器(运行ClearOS,如果有任何区别的话)包含用户数据库。

所以,我使用libpam-ldapd在几个debian虚拟机上设置了LDAP,并发现了这个奇怪的问题。

运行时会显示我的组/用户映射

getent group 

但是二级组在运行时不会显示出来

 id 

这是我的/etc/nslcd.conf

 # /etc/nslcd.conf # nslcd configuration file. See nslcd.conf(5) # for details. # The user and group nslcd should run as. uid nslcd gid nslcd # The location at which the LDAP server(s) should be reachable. uri ldaps://10.3.0.1 # The search base that will be used for all queries. base dc=pnet,dc=sandyd,dc=me # The LDAP protocol version to use. #ldap_version 3 # The DN to bind with for normal lookups. binddn cn=manager,ou=internal,dc=pnet,dc=sandyd,dc=me bindpw Me29Dakyoz8Wn2zI # The DN used for password modifications by root. #rootpwmoddn cn=admin,dc=example,dc=com # SSL options ssl on tls_reqcert never # The search scope. #scope sub #filter group (&(objectClass=group)(gidNumber=*)) map group uniqueMember member