Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

26.9. OpenLDAP Users Tools

To Search on LDAP directory server for entries, the ldapsearch utility searches through the backend database of LDAP directory for information you have requested. You can use the following command:

                 [[email protected]] /# ldapsearch -b dn attrs
                 [[email protected]] /# ldapsearch -b o=openna, c=com cn=europe*
               

                 cn=Europe Mourani, o=openna, c=com
                 cn=Europe Mourani
                 sn=Mourani
                 [email protected]
                 description=Marketing relation
                 objectClass=person
               
This command will retrieve all entries and values for the name europe and will print the result to standard output in your terminal.

Some possible uses of OpenLDAP software, for instance OpenLDAP can be used as:

  1. Web Catalogue Server.

  2. White Pages Server.

  3. Certificate Server.

  4. An Access Control Server.

  5. Network Name Server.

26.9.1. The Netscape Address Book client for LDAP

If you have Netscape installed on a Linux workstation, or even another kind of operating system, you can use its Address Book features to access the LDAP Directory Server you have just installed on Linux and query your directory server for information like you do with the ldapsearch command tool on Linux.

If you are interested in doing that, follow the simple steps below:

  1. Open Netscape Communicator

  2. Go to Communicator menu

  3. Open the Address Book

  4. Go to File menu

  5. Click on New Directory

  6. Fill the boxes with your server information

Example 26-4. Address Book

Description: Open Network Architecture
LDAP Server: 208.164.186.3
Server Root: o=openna, c=com

Now all you have to do is to make some queries to your LDAP Directory Server on Linux, by using the box named Show names Containing: to start your search, and clicking on the button Search For: to get the results.

Address Book

The Netscape Address Book Client Program.

 
 
  Published under the terms of the Open Publication License Design by Interspire