LDAP Tools/OpenLDAP HowTo/Debian

From Authentication Tools for Joomla! (JAuthTools)

(Difference between revisions)
Jump to: navigation, search
Line 2: Line 2:
Debian provides the APT method of installing packages onto their system. For the use of getting up and running quickly, we'll be using APT here to install OpenLDAP quickly.
Debian provides the APT method of installing packages onto their system. For the use of getting up and running quickly, we'll be using APT here to install OpenLDAP quickly.
 +
 +
First step: '''sudo aptitude install slapd'''
 +
<pre>
 +
pasamio@horloge:~$ sudo aptitude install slapd
 +
Reading package lists... Done
 +
Building dependency tree... Done
 +
Reading extended state information     
 +
Initializing package states... Done
 +
Reading task descriptions... Done 
 +
Building tag database... Done   
 +
The following NEW packages will be automatically installed:
 +
  libiodbc2 libldap-2.3-0 libltdl3 libperl5.8 libsasl2-modules libslp1
 +
  psmisc
 +
The following NEW packages will be installed:
 +
  libiodbc2 libldap-2.3-0 libltdl3 libperl5.8 libsasl2-modules libslp1
 +
  psmisc slapd
 +
0 packages upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
 +
Need to get 1485kB/2575kB of archives. After unpacking 6709kB will be used.
 +
Do you want to continue? [Y/n/?]
 +
Writing extended state information... Done
 +
Get:1 http://ftp.iinet.net.au stable/main libiodbc2 3.52.4-5 [164kB]
 +
Get:2 http://ftp.iinet.net.au stable/main slapd 2.3.30-5 [1174kB]
 +
Get:3 http://ftp.iinet.net.au stable/main libsasl2-modules 2.1.22.dfsg1-8 [147kB]
 +
Fetched 1485kB in 16s (92.3kB/s)                                               
 +
Preconfiguring packages ...
 +
Selecting previously deselected package libiodbc2.
 +
(Reading database ... 19883 files and directories currently installed.)
 +
Unpacking libiodbc2 (from .../libiodbc2_3.52.4-5_i386.deb) ...
 +
Selecting previously deselected package libldap-2.3-0.
 +
Unpacking libldap-2.3-0 (from .../libldap-2.3-0_2.3.30-5_i386.deb) ...
 +
Replacing files in old package libldap2 ...
 +
Selecting previously deselected package libltdl3.
 +
Unpacking libltdl3 (from .../libltdl3_1.5.22-4_i386.deb) ...
 +
Selecting previously deselected package libperl5.8.
 +
Unpacking libperl5.8 (from .../libperl5.8_5.8.8-7_i386.deb) ...
 +
Selecting previously deselected package libslp1.
 +
Unpacking libslp1 (from .../libslp1_1.2.1-6.2_i386.deb) ...
 +
Selecting previously deselected package psmisc.
 +
Unpacking psmisc (from .../psmisc/psmisc_22.3-1_i386.deb) ...
 +
Selecting previously deselected package slapd.
 +
Unpacking slapd (from .../slapd_2.3.30-5_i386.deb) ...
 +
Selecting previously deselected package libsasl2-modules.
 +
Unpacking libsasl2-modules (from .../libsasl2-modules_2.1.22.dfsg1-8_i386.deb) ...
 +
Setting up libiodbc2 (3.52.4-5) ...
 +
 +
Setting up libldap-2.3-0 (2.3.30-5) ...
 +
 +
Setting up libltdl3 (1.5.22-4) ...
 +
 +
Setting up libperl5.8 (5.8.8-7) ...
 +
 +
Setting up libslp1 (1.2.1-6.2) ...
 +
 +
Setting up psmisc (22.3-1) ...
 +
 +
Setting up slapd (2.3.30-5) ...
 +
  Creating new user openldap... done.
 +
  Creating initial slapd configuration... done.
 +
  Creating initial LDAP directory... done.
 +
Starting OpenLDAP: slapd.
 +
 +
Setting up libsasl2-modules (2.1.22.dfsg1-8) ...
 +
You have new mail in /var/mail/pasamio
 +
pasamio@horloge:~$
 +
</pre>

Revision as of 12:38, 25 May 2007

Note: This article is incomplete, and is perhaps still being written. Check back later for more information.

Debian provides the APT method of installing packages onto their system. For the use of getting up and running quickly, we'll be using APT here to install OpenLDAP quickly.

First step: sudo aptitude install slapd

pasamio@horloge:~$ sudo aptitude install slapd
Reading package lists... Done
Building dependency tree... Done
Reading extended state information      
Initializing package states... Done
Reading task descriptions... Done  
Building tag database... Done    
The following NEW packages will be automatically installed:
  libiodbc2 libldap-2.3-0 libltdl3 libperl5.8 libsasl2-modules libslp1 
  psmisc 
The following NEW packages will be installed:
  libiodbc2 libldap-2.3-0 libltdl3 libperl5.8 libsasl2-modules libslp1 
  psmisc slapd 
0 packages upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 1485kB/2575kB of archives. After unpacking 6709kB will be used.
Do you want to continue? [Y/n/?] 
Writing extended state information... Done
Get:1 http://ftp.iinet.net.au stable/main libiodbc2 3.52.4-5 [164kB]
Get:2 http://ftp.iinet.net.au stable/main slapd 2.3.30-5 [1174kB]
Get:3 http://ftp.iinet.net.au stable/main libsasl2-modules 2.1.22.dfsg1-8 [147kB]
Fetched 1485kB in 16s (92.3kB/s)                                                
Preconfiguring packages ...
Selecting previously deselected package libiodbc2.
(Reading database ... 19883 files and directories currently installed.)
Unpacking libiodbc2 (from .../libiodbc2_3.52.4-5_i386.deb) ...
Selecting previously deselected package libldap-2.3-0.
Unpacking libldap-2.3-0 (from .../libldap-2.3-0_2.3.30-5_i386.deb) ...
Replacing files in old package libldap2 ...
Selecting previously deselected package libltdl3.
Unpacking libltdl3 (from .../libltdl3_1.5.22-4_i386.deb) ...
Selecting previously deselected package libperl5.8.
Unpacking libperl5.8 (from .../libperl5.8_5.8.8-7_i386.deb) ...
Selecting previously deselected package libslp1.
Unpacking libslp1 (from .../libslp1_1.2.1-6.2_i386.deb) ...
Selecting previously deselected package psmisc.
Unpacking psmisc (from .../psmisc/psmisc_22.3-1_i386.deb) ...
Selecting previously deselected package slapd.
Unpacking slapd (from .../slapd_2.3.30-5_i386.deb) ...
Selecting previously deselected package libsasl2-modules.
Unpacking libsasl2-modules (from .../libsasl2-modules_2.1.22.dfsg1-8_i386.deb) ...
Setting up libiodbc2 (3.52.4-5) ...

Setting up libldap-2.3-0 (2.3.30-5) ...

Setting up libltdl3 (1.5.22-4) ...

Setting up libperl5.8 (5.8.8-7) ...

Setting up libslp1 (1.2.1-6.2) ...

Setting up psmisc (22.3-1) ...

Setting up slapd (2.3.30-5) ...
  Creating new user openldap... done.
  Creating initial slapd configuration... done.
  Creating initial LDAP directory... done.
Starting OpenLDAP: slapd.

Setting up libsasl2-modules (2.1.22.dfsg1-8) ...
You have new mail in /var/mail/pasamio
pasamio@horloge:~$ 
Personal tools