I recreated my directory in OpenLDAP and getent now works as expected. Serves me right for trying ApacheDS I suppose.
Thanks for the responses Kevin Ratcliffe Sent from [ProtonMail](https://protonmail.ch) ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On 14 April 2018 3:53 AM, Jason King <[email protected]> wrote: > Is there any configuration settings in ApacheDS dealing with virtual list > view (VLV) controls? IIRC the native ldap client uses that control for > enumeration of entries (to give the results in chunks). > > From: [email protected] [<[email protected]>](mailto:[email protected]) > Reply: [email protected] > [<[email protected]>](mailto:[email protected]) > Date: April 13, 2018 at 9:47:02 AM > To: [email protected] > [<[email protected]>](mailto:[email protected]) > Subject: [smartos-discuss] Is it Normal? > >> Hi >> >> I used ldapclient to provision a bunch of user accounts on a fileserver and >> it all seems to work correctly. But when I issue a getent passwd or getent >> group, getent prints the local accounts and then repeatedly prints my ldap >> user accounts and getent never completes. Is that normal? >> >> kev@fs:~$ sudo ldapclient list >> NS_LDAP_FILE_VERSION= 2.0 >> NS_LDAP_BINDDN= uid=admin,ou=system >> NS_LDAP_BINDPASSWD= {NS1}blahblahblahblah >> NS_LDAP_SERVERS= java.fukr.org.uk >> NS_LDAP_SEARCH_BASEDN= dc=fukr,dc=org,dc=uk >> NS_LDAP_AUTH= simple >> NS_LDAP_SEARCH_SCOPE= sub >> NS_LDAP_CACHETTL= 0 >> NS_LDAP_CREDENTIAL_LEVEL= proxy >> NS_LDAP_SERVICE_SEARCH_DESC= group:ou=groups,dc=fukr,dc=org,dc=uk >> NS_LDAP_SERVICE_SEARCH_DESC= shadow:ou=users,dc=fukr,dc=org,dc=uk >> NS_LDAP_SERVICE_SEARCH_DESC= passwd:ou=users,dc=fukr,dc=org,dc=uk >> NS_LDAP_BIND_TIME= 5 >> >> I use apacheds as the ldap server. This isn't a big issue as everything >> seems to work okay but just seems odd as I've used getent on linux but have >> never seen this behaviour before. >> >> Kevin Ratcliffe >> >> Sent from [ProtonMail](https://protonmail.ch) > > smartos-discuss | > [Archives](https://www.listbox.com/member/archive/184463/=now) | > [Modify](https://www.listbox.com/member/?&) Your Subscription > [Powered by Listbox](http://www.listbox.com) ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
