https://bugs.openldap.org/show_bug.cgi?id=10427
Issue ID: 10427 Summary: ldapsearch(1) incorrectly documents OID-based search option Product: OpenLDAP Version: 2.6.10 Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: client tools Assignee: bugs@openldap.org Reporter: michael.osipov@innomotics.com Target Milestone: ---
Created attachment 1109 --> https://bugs.openldap.org/attachment.cgi?id=1109&action=edit Git-formatted patch
Docs/manpage for -E say: [!]<oid>[=:<value>|::<b64value>]
But it does not work:
$ ldapsearch -Y GSSAPI -O maxssf=1 -E '!1.2.840.113556.1.4.1340::MAYSBAAAAAI=' -o ldif-wrap=no -H ldap://innomotics.net "(objectClass=dnsNode1)"
Invalid search extension name: 1.2.840.113556.1.4.1340::MAYSBAAAAAI
It is '=::':
$ ldapsearch -Y GSSAPI -O maxssf=1 -E '!1.2.840.113556.1.4.1340=::MAYSBAAAAAI=' -o ldif-wrap=no -H ldap://innomotics.net "(objectClass=dnsNode1)" SASL/GSSAPI authentication started
Attached is a simple patch to fix it.
https://bugs.openldap.org/show_bug.cgi?id=10427
michael.osipov@innomotics.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #1109|0 |1 is patch| | Attachment #1109|application/mbox |text/plain mime type| |
https://bugs.openldap.org/show_bug.cgi?id=10427
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs_review | Target Milestone|--- |2.6.12
https://bugs.openldap.org/show_bug.cgi?id=10427
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.6.12 |2.6.13
https://bugs.openldap.org/show_bug.cgi?id=10427
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@openldap.org |hyc@openldap.org
https://bugs.openldap.org/show_bug.cgi?id=10427
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |TEST Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Howard Chu hyc@openldap.org --- Fixed in git 751207c062c7503b76de8140ca4d9dcbba61c3ba
The provided patch didn't apply cleanly to master due to other doc changes.