Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ldapclients.sgml

Go to the documentation of this file.
00001 <!doctype linuxdoc system>
00002 <article>
00003 <title>LDAP Client setup
00004 <author>Setting up common LDAP clients
00005 <p><url url="index.html" name="Index">
00006 <p>
00007 How to enable other ldap software to use your directory.
00008 
00009 <sect>General client setup
00010 <p>
00011 Most clients need the same configuration to be used against a LDAP directory. Usually you need a <em>search base</em>, a <em>server</em> name, and sometimes, if you need to authenticate your client to the server, a <em>binddn</em> and a <em>bindpassword</em>. 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.
00012 <p>
00013 <itemize>
00014 <item>    LDAP search base: <em>dc=demo,dc=nett,dc=org</em>
00015 <item>    LDAP server: <em>ldap.demo.nett.org</em>
00016 </itemize>
00017 </sect>
00018 
00019 <sect>LDAPconf client setup
00020 <p>
00021       <itemize> 
00022       <item> Setup
00023       <itemize>
00024       <item> Start linuxconf, and enter the menu Config->Client->LDAP
00025       <item> In the server field, enter ldap.demo.nett.org
00026       <item> In the base field, enter dc=demo,dc=nett,dc=org
00027       </itemize>
00028       <item> Usage
00029       <itemize>
00030       <item> Currently you have to use ldapsearch from the command line, like this:
00031       <item> <verb>$ ldapsearch "(objectclass=person)"</verb>
00032       <item> You should now get some output viewing some person objects from the directory. 
00033       </itemize>
00034       </itemize>
00035 </sect>
00036 
00037 <sect>OpenLDAP client setup
00038 <p>
00039 <itemize>
00040   <item>Setup
00041       <itemize>
00042       <item>Open the file /etc/ldap/ldap.conf in a text editor (the location of this file may vary!).
00043       <item>Edit the file to look something like this:
00044       <verb>
00045       server ldap.demo.nett.org
00046       base dc=demo,dc=nett,dc=org
00047       </verb>    
00048       <item>Save the file.
00049       </itemize>
00050       <item>Usage
00051       <itemize>
00052       <item> Then you may use ldapsearch from the command line:
00053       <item> <verb>$ ldapsearch "(objectclass=person)"</verb>
00054       <item> You should now get some output viewing some person objects from the directory.
00055       </itemize>
00056       </itemize>
00057 </sect>
00058 
00059 <sect>Communicator setup
00060 <p>
00061       <itemize>
00062       <item>Setup
00063       <itemize>
00064       <item>Open the Communicator addressbook (from the "Communicator" menu)
00065       <item>Select New directory from the File menu
00066       <item>In the LDAP server field: ldap.demo.nett.org
00067       <item>In the Search Root field: dc=demo,dc=nett,dc=org
00068       </itemize>
00069       <item>Usage
00070       <itemize>
00071       <item>Open the Communicator addressbook
00072       <item>Select the directory you just configured from the list
00073       <item>Enter a name (or a wildcard) in the Show names containing field.
00074       <item>One or more names should show up in the addressbook window. 
00075       </itemize>
00076       </itemize>
00077 </sect>
00078 
00079 <sect>Outlook setup
00080 <p>
00081 
00082       <itemize>  
00083       <item>Setup
00084       <itemize>
00085       <item>Open the "Accounts" menu (from the "Tools" menu)
00086       <item>Select Add directory server
00087       <item>Set ldap servername: ldap.demo.nett.org
00088       <item>Click next,next,next and finish.
00089       <item>Important! You now have to set the search base:
00090       <item>Select the newly added directory from the list.
00091       <item>Select properties. Select Advanced.
00092       <item>Enter into the Search base field: dc=demo,dc=nett,dc=org
00093       <item>Select OK.
00094       </itemize>
00095       <item>Usage
00096       <itemize>
00097       <item>Open the addressbook from the tools menu.
00098       <item>Select Find from the Edit menu.
00099       <item>Select the directory you just configured from "Lookup in" list.
00100       <item>Enter a name (or a wildcard) in the "Find name" field.
00101       <item>One or more names should show up in the addressbook window. 
00102       </itemize>
00103       </itemize>
00104 </sect>
00105 
00106 </article>
00107 
00108 
00109 

Generated at Mon Jan 22 08:35:11 2001 for ldapconf by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000