Table of Contents
Date: 11-04-2022
The ldapurl command is a tool that creates LDAP search URIs from a set of parameters. Search URIs are used in some LDAP client APIs.
At this time, search URIs cannot be used with the ldapsearch command.
Syntax:
ldapurl [-a attrs] [-b searchbase] [-f filter] [-H URI] [-s scope]ldapurl Example
Build a search URI
ldapurl -a cn,sn -s one -b ou=people,dc=example,dc=com -S ldap -h appserv01.example.com ldap://appserv01.example.com:389/ou=people,dc=example,dc=com?cn,sn?oneFor more information, please see ldapurl Man Page.