Commit c8ba729f authored by Lukas Juhrich's avatar Lukas Juhrich Committed by Quanah Gibson-Mount
Browse files

Issue#8769 - Fix oid search extension syntax in documentation

The option string, e.g. '<oid>=:dn:' is parsed like a LDIF entry starting from
the '=' and replacing the '=' with a dummy variable 'x'.  In this case, said
string is 'x:dn:', so the resulting effective value is 'dn:'.  This also implies
that base64 values have to be passed in the form '<oid>=::<b64value>'.
parent ce23aee9
......@@ -156,7 +156,7 @@ usage( void )
#ifdef LDAP_CONTROL_X_SERVER_NOTIFICATION
fprintf( stderr, _(" [!]serverNotif (MS AD Server Notification)\n"));
#endif
fprintf( stderr, _(" [!]<oid>[=:<b64value>] (generic control; no response handling)\n"));
fprintf( stderr, _(" [!]<oid>[=:<value>|::<b64value>] (generic control; no response handling)\n"));
fprintf( stderr, _(" -f file read operations from `file'\n"));
fprintf( stderr, _(" -F prefix URL prefix for files (default: %s)\n"), def_urlpre);
fprintf( stderr, _(" -l limit time limit (in seconds, or \"none\" or \"max\") for search\n"));
......
......@@ -327,7 +327,7 @@ Search extensions:
rp[/<cookie>][/<slimit>] (LDAP Sync refreshAndPersist)
[!]vlv=<before>/<after>(/<offset>/<count>|:<value>) (virtual list view)
[!]deref=derefAttr:attr[,attr[...]][;derefAttr:attr[,attr[...]]]
[!]<oid>[=<value>]
[!]<oid>[=:<value>|::<b64value>]
.fi
.TP
.BI \-o \ opt \fR[= optparam \fR]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment