Hi, I have a openldap server in RHEL4 and after the latest update I can only get 1065 users from the command getent passwd: getent passwd | wc -l
I have like 15k users. Slapcat list them all.
Where should I look for a solution? In the cache size of the DBD, in /etc/ldap.conf, in slapd.conf?
Many thanks Oliver
I have a openldap server in RHEL4 and after the latest update I can only get 1065 users from the command getent passwd: getent passwd | wc -l
I have like 15k users. Slapcat list them all.
Where should I look for a solution? In the cache size of the DBD, in /etc/ldap.conf, in slapd.conf?
What is your sizelimit set to in slapd.conf? If I had to guess, your sizelimit is set to 1000 and you have 65 user accounts in /etc/passwd.
Al
Hi Al, sizelimit is on 30000 on slapd.conf, but you're right, I have 65 users in /etc/passwd
Its really strange ... Today it returns 2065.
Oliver
El 08/07/2011 07:06, Al escribió:
I have a openldap server in RHEL4 and after the latest update I can only get 1065 users from the command getent passwd: getent passwd | wc -l
I have like 15k users. Slapcat list them all.
Where should I look for a solution? In the cache size of the DBD, in /etc/ldap.conf, in slapd.conf?
What is your sizelimit set to in slapd.conf? If I had to guess, your sizelimit is set to 1000 and you have 65 user accounts in /etc/passwd.
Al
Oliver Schulze L. writes:
sizelimit is on 30000 on slapd.conf, but you're right, I have 65 users in /etc/passwd
Its really strange ... Today it returns 2065.
Maybe 65 from /etc/passwd, 1000 from some cache on the local machine, 1000 new ones from LDAP after something was done in slapd which made it order entries differently (so not the same old 1000 were returned)?
openldap-technical@openldap.org