Administration
  Home arrow Administration arrow Page 3 - Understanding LDAP (part 2)
Dev Shed Forums 
Administration  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Download TestComplete 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ADMINISTRATION

Understanding LDAP (part 2)
By: icarus, (c) Melonfire
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 9
    2003-03-05

    Table of Contents:
  • Understanding LDAP (part 2)
  • Opening Up
  • Building Blocks
  • The Root Of All Evil
  • A Little Black Book Is Born
  • Digging Deep
  • Changing Things Around
  • You Have Mail
  • Link Zone

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ibm
     
    ADVERTISEMENT

    PCmover - $15 Off with Coupon Code CJPH7Q

    Understanding LDAP (part 2) - Building Blocks
    (Page 3 of 9 )

    The first order of business to install OpenLDAP on your Linux box. Drop by the official Web site at http://www.openldap.org/ and get yourself the latest stable release of the software (this tutorial uses OpenLDAP 2.1.12). Note that you will also need a copy of the SleepyCat Berkeley DB database engine, available from http://www.sleepycat.com/ (this tutorial uses Berkeley DB 4.1.25)

    Once you've downloaded the source code archive to your Linux box (mine is named "olympus"), log in as "root".
    [me@olympus] $ su -
    Password: ****
    
    You'll first need to compile and install Berkeley DB. Extract the source to a temporary directory.
    [root@olympus] $ cd /tmp
    [root@olympus] $ tar -xzvf db-4.1.25.tar.gz  
    
    Next, configure the package using the provided "configure" script,
    [root@olympus] $ cd /tmp/db-4.1.25
    [root@olympus] $ cd build_unix[root@olympus] $ ../dist/configure
    and compile and install it.
    [root@olympus] $ make
    [root@olympus] $ make install
    Unless you specified a different path to the "configure" script, Berkeley DB will have been installed to the directory "/usr/local/BerkeleyDB.4.1".

    Next, you need to install the OpenLDAP software proper. Again, extract the source archive to a temporary directory.
    [root@olympus] $ cd /tmp
    [root@olympus] $ tar -xzvf openldap-stable-20030107.tar.gz  
    
    Next, configure the package using the provided "configure" script,
    [root@olympus] $ cd /tmp/openldap-2.1.12
    [root@olympus] $ ./configure --prefix=/usr/local/openldap
    and compile and install it.
    [root@olympus] $ make depend
    [root@olympus] $ make 
    [root@olympus] $ make install
    
    Since I specified a custom path to the "configure" script, OpenLDAP will have been installed to the directory "/usr/local/openldap".

    It must be noted that "configure" sometimes barfs when including the Berkeley DB library into OpenLDAP. In case you have this problem, explicitly tell "configure" where to find the files, as follows:
    [root@olympus] $ env CPPFLAGS="-I/usr/local/BerkeleyDB.4.1/include"
    LDFLAGS="-L/usr/local/BerkeleyDB.4.1/lib" ./configure
    --prefix=/usr/local/openldap                           
    
    Once you've got OpenLDAP installed, the next step is to configure it.

    More Administration Articles
    More By icarus, (c) Melonfire


     

       

    ADMINISTRATION ARTICLES

    - Configuring Load-Balanced Clusters
    - Load-Balanced Clusters
    - UNIX Time Format Demystified
    - Making Changes in the CVS
    - Building Your First CVS Repository
    - CVS Quickstart Guide
    - Authorizing Users in Samba
    - Handling User Accounts in Samba
    - Authentication in Samba
    - Accounts, Authentication, and Authorization
    - Advanced Concepts on Dealing with Files and ...
    - Dealing with Files and Filesystems
    - More Hacks for the User Environment in BSD
    - Personalizing the User Environment in BSD
    - Customizing the User Environment in BSD

     
    Accelerating Trading Partner Performance
     
    Competing on Analytics
     
    Cost Effective Scaling with Virtualization and Coyote Point Systems
     
    Five Checkpoints to Implementing IP Telephony
     
    Hosted Email Security: Staying Ahead of New Threats
     




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway