[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: nslcd listing users and groups twice
- To: Dan White <dwhite@cafedemocracy.org>
- Subject: Re: nslcd listing users and groups twice
- From: John Lewis <oflameo2@gmail.com>
- Date: Sun, 28 Aug 2016 15:02:43 -0400
- Cc: openldap-technical@openldap.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=EFFUDhAGm+/duhApp3A+6BAe9Ulwspg8Knt8NGFbmm0=; b=tx4GzDVixpCliXSsaxiurLtZLcBgAVj0CBzI1VfRcAWN+sttXcHm7ValwNePh39eYW +/f4vd+qYz/kaoqNqRudZFLT5FGAe9EjqIzeXpVl+Ejx3oMvMnnTUMgwZjhAN3G0GUYx NJnZQmxMVKTXmoaBIc/+qXXszvMom8Ixye0RffW6upnqW1aojocb3qCjjaXHluyJMI0s tlN4LWtObXCx3ibwutOhJlI7Pt0fUXWKBI9Hbimad7yq3j9OlB2u5mccWu/ykjjlk9Uo dLJGBxaiac4HGFFITGl1/tjjdT9nUci6Lkqt7T5WHff/GLgNAcToyo4QxWsZEZH6xmuv jvRQ==
- In-reply-to: <76055d4e-586a-c746-88de-45612e6043b9@gmail.com>
- References: <20160815195558.GA13131@dan.olp.net> <76055d4e-586a-c746-88de-45612e6043b9@gmail.com>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.2.0
I figured it out.
I had a duplicate search base in the nslcd.conf.
On 08/15/2016 07:38 PM, John Lewis wrote:
> I don't use netgroups. I actually never seen net groups in use.
>
>
> On 08/15/2016 03:55 PM, Dan White wrote:
>> On 08/15/16 14:50 -0400, John Lewis wrote:
>>> The commands return duplicate data is getent passwd and getent group, if
>>> I don't add a specific user as a parameter in the command.
>>>
>>> # /etc/nsswitch.conf
>>>
>>> passwd: compat ldap
>>> group: compat ldap
>> Are you using netgroups in /etc/passwd?
>>
>> On 08/14/16 13:50 -0400, John Lewis wrote:
>>> uid nslcd
>>> gid nslcd
>>> uri ldap://localhost
>>> base dc=d,dc=oflameo,dc=com
>>> ldap_version 3
>>> binddn cn=ldap-connect,ou=Users,dc=d,dc=oflameo,dc=com
>>> bindpw x
>>> tls_cacertfile /etc/ssl/certs/ca-certificates.crt
>>> base dc=d,dc=oflameo,dc=com
>>> filter passwd (objectClass=posixAccount)
>>> filter group (objectClass=posixGroup)
>>> map passwd uid uid
>>> map passwd uidNumber uidNumber
>>> map passwd loginShell loginShell
>>> map passwd homeDirectory homeDirectory
>>> map passwd gecos gecos
>>> map passwd gidNumber gidNumber
>>> map group member member
>>> bind_timelimit 60
>>> timelimit 60
>>> idle_timelimit 300
>> Do you have multiple users which meet the above criteria?
>>