• Contact Us
  • Home
  • Reference

Using ldapurl

Written by Maryanne Normann

Updated at March 2nd, 2026

  • Quick Start
  • Installation
    Best Practices Configuration Troubleshooting Design Performance Platform
  • Maintenance
    Releases Upgrade
  • Reference
+ More

Table of Contents

ldapurl Example Build a search URI

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?one

For more information, please see ldapurl Man Page.

Copyright © 2020-2024 Symas Corporation. All rights reserved.
ldapurl cli utility

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Chaining Overlay with Keep Alive Function
  • cn=monitor Reference
  • Common ldap Command Parameters
  • Common slapd Command Parameters
  • Convert Single-Master to Multi-Master Replication
  • Symas Blog RSS Feed
  • Symas on Facebook
  • Symas on Twitter
  • Symas Blog
  • Symas on LinkedIn
  • Symas YouTube Channel

Copyright © 2025, Symas Corporation. All rights reserved. Privacy Statement (updated July 31, 2023)

Phone:

Main Office: +1.650.963.7601
Fax: +1.650.390.6284

Email:

Sales: sales@symas.com
Support: support@symas.com

Office Hours:

8:00 AM - 5:00 PM ET

Office Location:

Symas Corporation
PO Box 391
Grand Junction, CO 81507 USA

Expand