[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: Mon, 15 Aug 2016 19:38:30 -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=xo7DhTiTAfhJ7t8A0wrdPKIcmtXntzHw5mmCH27+NU4=; b=vYoOIqhWiM6uo8TnCtEAkXGxXsWnXAlMsCS1zmm7TlxQfMBPUrfJ55lhl3sb0nigRW C+Zq4XR1yFzK9eQ9BDziOSI8mejI68B3L8i0/kJOVdDHgQkKbSLBBxY+7oHRhWYCNp/m I/mAweO9zpu1fK3FoP8gOeopr64EWz4Lgp8tz22XBieI7Lo9Wbxl+Gq8PAV6ohY+GiOX jzQmqyMPqz/12WIlpyg6kbm/kzrNWVHWn8czcPq+DRzaYGAp7AEbXLeYynk2OHeXpVBJ 56ZPtLwHCG9uGBeuYg4IxeYqVrR5MzWXcSEZCuQFvG2yrYxARmQ7z6ZCByB4HHbvUrKq PTsg==
- In-reply-to: <20160815195558.GA13131@dan.olp.net>
- References: <20160815195558.GA13131@dan.olp.net>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.1.0
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?
>