ldapurl is a command that allows one to either compose or decompose
When invoked with the -H option, ldapurl extracts the components of
the ldapuri option argument, unescaping hex-escaped chars as
required. It basically acts as a frontend to the ldap_url_parse(3)
call. Otherwise, it builds an LDAP URI based on the components
passed with the appropriate options, performing the inverse
operation. Option -H is incompatible with options -a, -b, -E, -f,
-H, -h, -p, -S, and -s.
Set a comma-separated list of attribute selectors.
Set the searchbase.
Specify general extensions with -e ´!´ indicates criticality.
[!]assert=<filter> (an RFC 4515 Filter)
!authzid=<authzid> ("dn:<dn>" or "u:<user>")
[!]bauthzid (RFC 3829 authzid control)
[!]postread[=<attrs>] (a comma-separated attribute list)
[!]preread[=<attrs>] (a comma-separated attribute list)
abandon,cancel,ignore (SIGINT sends abandon/cancel,
or ignores response; if critical, doesn't wait for SIGINT.
not really controls)
Set URL extensions; incompatible with -H.
Set the URL filter. No particular check on conformity with
RFC 4515 LDAP filters is performed, but the value is hex-
escaped as required.
Specify URI to be exploded.
Set the host.
Set the TCP port.
Set the URL scheme. Defaults for other fields, like ldapport,
may depend on the value of scheme.
Specify the scope of the search to be one of base, one, sub,
or children to specify a base object, one-level, subtree, or
children search. The default is sub. Note: children scope
requires LDAPv3 subordinate feature extension.
If the -H option is used, the ldapuri supplied is exploded in its
components, which are printed to standard output in an LDIF-like
Otherwise, the URI built using the values passed with the other
options is printed to standard output.
This page is part of the OpenLDAP (an open source implementation of
the Lightweight Directory Access Protocol) project. Information
about the project can be found at ⟨http://www.openldap.org/⟩. If you
have a bug report for this manual page, see
⟨http://www.openldap.org/its/⟩. This page was obtained from the
project's upstream Git repository
⟨git://git.openldap.org/openldap.git⟩ on 2020-06-09. (At that time,
the date of the most recent commit that was found in the repository
was 2020-02-07.) If you discover any rendering problems in this HTML
version of the page, or you believe there is a better or more up-to-
date source for the page, or you have corrections or improvements to
the information in this COLOPHON (which is not part of the original
manual page), send a mail to email@example.com
OpenLDAP LDVERSION RELEASEDATE LDAPURL(1)