Hi Quanah
My bad, did not reindex the database, sorry, I'll do that right now and see what happens. and yes, it's and old release, I'm aware of that, and we should upgrade as soon as posible.
Thanks for your time and support. Best regards.
2008/11/11, Quanah Gibson-Mount quanah@zimbra.com:
--On Tuesday, November 11, 2008 6:12 PM -0200 Net Warrior < netwarrior863@gmail.com> wrote:
Hi there guys.
A costumer of us were having problems with the slapd service ( unexpected hangs ), it's an ubuntu installation running slapd 2.2.26 In the logs I noticed that there were no indexes available, the index_param failed were reported in the logs, the systems uses ldap for user authentication and nothing else.
After that, I added the following in the slapd.conf,
index cn,gidNumber,memberUid,uid eq index uniqueMember eq index uidNumber eq
The performance where better and there were no more hangs, but I'm getting the following error. and the user cannot authenticate, so I went back to the original configuration without indexes.
Did you reindex the database after you added the indices via slapindex while the server was offline, as is required when you add indices to existing objects?
And, I'll note that OpenLDAP 2.2 is very old and no longer supported. Numerous bugs have been fixed since that release, even in the OpenLDAP 2.2 series.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc
Zimbra :: the leader in open source messaging and collaboration
Net Warrior wrote:
My bad, did not reindex the database, sorry, I'll do that right now and see what happens.
And double-check ownership/permissions of the new index files if running slapindex as root and slapd as non-root user.
Ciao, Michael.
Hi Michael
Running an slapindex -v was sufficient, very kind of you. anyway, ubuntu runs slapd as root, that surprised me, on most systems /var/lib/ldap is owned by ldap:ldap, but, we know the nasty things that ubuntu likes to do :)
Thanks for your time and support. Best Regards
2008/11/12 Michael Ströder michael@stroeder.com
Net Warrior wrote:
My bad, did not reindex the database, sorry, I'll do that right now and see what happens.
And double-check ownership/permissions of the new index files if running slapindex as root and slapd as non-root user.
Ciao, Michael.
Sounds like an old version of Ubuntu. Sellers
On 11/13/08 1:13 PM, "Net Warrior" netwarrior863@gmail.com wrote:
Running an slapindex -v was sufficient, very kind of you. anyway, ubuntu runs slapd as root, that surprised me, on most systems /var/lib/ldap is owned by ldap:ldap, but, we know the nasty things that ubuntu likes to do :)
Thanks for your time and support.
openldap-software@openldap.org