OpenLDAP

Introduction

OpenLDAP Software is a free, open source implementation of the Lightweight Directory Access Protocol (LDAP) developed by the OpenLDAP Project. It is released under its own BSD-style license called the OpenLDAP Public License. LDAP is a platform-independent protocol. Several common Linux distributions include OpenLDAP Software for LDAP support. The software also runs on BSD-variants, as well as AIX, HP-UX, Mac OS X, Solaris, Microsoft Windows (NT and derivatives, e.g. 2000, XP, Vista, etc.), and z/OS.

Usage

Compute Systems Invocation Version(s)
Red Hat Linux (64-bit) % /util/bin/ldap smith
% /util/bin/ldap -t userid kensmith
% /util/bin/ldapsearch -F: -p 389 -h ldap.buffalo.edu -x -b "o=university at buffalo,c=us" sn="smith"
% /util/bin/ldapsearch -F: -p 389 -h ldap.buffalo.edu -x -b "o=university at buffalo,c=us" userid="kensmith"
% ldapsearch -x -LLL -H ldaps://ubldap.buffalo.edu -w'PASSWORD' -D "uid=USERID,ou=People,dc=buffalo,dc=edu" -b"dc=buffalo,dc=edu" '(uid=USERID)'
2.3.43 (default)

Notes

  1. CSE supports a local wrapper script called ldap to simplify queries to the UB LDAP server.
  2. Installation: Use yum to install OpenLDAP locally, then move a copy of /usr/bin/ldapsearch to /util/bin/.

References

  1. http://en.wikipedia.org/wiki/OpenLDAP
  2. http://www.openldap.org/