|
|
LDAP client setup
|
|
These is a guide on how to configure and use various LDAP clients.
|
|
General settings
|
Most clients need the same configuration to be used against a LDAP directory. Usually you need a search base, a server name, and sometimes, if you need to authenticate your client to the server, a binddn and a bindpassword. In this examples we will be using configuration settings needed to browse the ldapconf demo server, if you already have access to a working LDAP directory you should just change this key information, if not, feel free to test your setup against the demoserver.
LDAP search base: dc=demo,dc=nett,dc=org
LDAP server: ldap.demo.nett.org
|
|
LDAPconf client
|
- Setup
- Start linuxconf, and enter the menu Config->Client->LDAP
- In the server field, enter ldap.demo.nett.org
- In the base field, enter dc=demo,dc=nett,dc=org
- Usage
- Currently you have to use ldapsearch from the command line, like this:
- $ ldapsearch "(objectclass=person)"
- You should now get some output viewing some person objects from the directory.
|
|
OpenLDAP client
|
- Setup
- Open the file /etc/ldap/ldap.conf in a text editor (the location of this file may vary!).
- Edit the file to look something like this:
server ldap.demo.nett.org
base dc=demo,dc=nett,dc=org
|
- Save the file.
- Usage
- Then you may use ldapsearch from the command line:
- $ ldapsearch "(objectclass=person)"
- You should now get some output viewing some person objects from the directory.
|
|
Netscape Communicator
|
- Setup
- Open the Communicator addressbook (from the "Communicator" menu)
- Select New directory from the File menu
- In the LDAP server field: ldap.demo.nett.org
- In the Search Root field: dc=demo,dc=nett,dc=org
- Usage
- Open the Communicator addressbook
- Select the directory you just configured from the list
- Enter a name (or a wildcard) in the Show names containing field.
- One or more names should show up in the addressbook window.
|
|
Microsoft Outlook
|
- Setup
- Open the "Accounts" menu (from the "Tools" menu)
- Select Add directory server
- Set ldap servername: ldap.demo.nett.org
- Click next,next,next and finish.
- Important! You now have to set the search base:
- Select the newly added directory from the list.
- Select properties. Select Advanced.
- Enter into the Search base field: dc=demo,dc=nett,dc=org
- Select OK.
- Usage
- Open the addressbook from the tools menu.
- Select Find from the Edit menu.
- Select the directory you just configured from "Lookup in" list.
- Enter a name (or a wildcard) in the "Find name" field.
- One or more names should show up in the addressbook window.
|
|