[Bug 1023025] Re: search fail with get_ctrls : controls require LDAPv3
PierreF
pierre-fersing at pierref.org
Wed Jul 18 16:22:36 UTC 2012
I can reproduce this issue with a simple ldapsearch:
ldapsearch -h ldap-1 -b ou=people,o=company -x
"(&(&(objectClass=posixAccount)(uid=*))(uid=pierref))" -M -v
Note: I think the exact query filter doesn't matter, only the -M switch
is important.
The result when it fail is:
ldap_initialize( ldap://ldap-1)
filter: (&(&(objectClass=posixAccount)(uid=*))(uid=pierref))
requesting: All userApplication attributes
# extended LDIF
#
# LDAPv3
# base <ou=people,o=company> with scope subtree
# filter: (&(&(objectClass=posixAccount)(uid=*))(uid=pierref))
# requesting: ALL
# with manageDSAit control
#
# search result
search: 2
result: 2 Protocol error
text: controls require LDAPv3
# numResponses: 1
But this don't occure often... running this command every 5 seconds generated only 6 errors in 3 hours.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in Ubuntu.
https://bugs.launchpad.net/bugs/1023025
Title:
search fail with get_ctrls : controls require LDAPv3
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1023025/+subscriptions
More information about the Ubuntu-server-bugs
mailing list