LDAPconf

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
  1. Setup
    1. Start linuxconf, and enter the menu Config->Client->LDAP
    2. In the server field, enter ldap.demo.nett.org
    3. In the base field, enter dc=demo,dc=nett,dc=org
  2. Usage
    1. Currently you have to use ldapsearch from the command line, like this:
    2. $ ldapsearch "(objectclass=person)"
    3. You should now get some output viewing some person objects from the directory.
OpenLDAP client
  1. Setup
    1. Open the file /etc/ldap/ldap.conf in a text editor (the location of this file may vary!).
    2. Edit the file to look something like this:
      server ldap.demo.nett.org
      base dc=demo,dc=nett,dc=org
    3. Save the file.
  2. Usage
    1. Then you may use ldapsearch from the command line:
    2. $ ldapsearch "(objectclass=person)"
    3. You should now get some output viewing some person objects from the directory.
Netscape Communicator
  1. Setup
    1. Open the Communicator addressbook (from the "Communicator" menu)
    2. Select New directory from the File menu
    3. In the LDAP server field: ldap.demo.nett.org
    4. In the Search Root field: dc=demo,dc=nett,dc=org
  2. Usage
    1. Open the Communicator addressbook
    2. Select the directory you just configured from the list
    3. Enter a name (or a wildcard) in the Show names containing field.
    4. One or more names should show up in the addressbook window.
Microsoft Outlook
  1. Setup
    1. Open the "Accounts" menu (from the "Tools" menu)
    2. Select Add directory server
    3. Set ldap servername: ldap.demo.nett.org
    4. Click next,next,next and finish.
    5. Important! You now have to set the search base:
    6. Select the newly added directory from the list.
    7. Select properties. Select Advanced.
    8. Enter into the Search base field: dc=demo,dc=nett,dc=org
    9. Select OK.
  2. Usage
    1. Open the addressbook from the tools menu.
    2. Select Find from the Edit menu.
    3. Select the directory you just configured from "Lookup in" list.
    4. Enter a name (or a wildcard) in the "Find name" field.
    5. One or more names should show up in the addressbook window.