This document is written by me to configure global address
book using OpenLDAP
Softwares needed
OpenLDAP
perl-Kolab-LDAP-Backend-slurpd-0.9.3-0.20050801.1mdk
openldap-2.3.6-4mdk
libldap2.3_0-2.3.6-4mdk
openldap-servers-2.3.6-4mdk
perl-ldap-0.31-2mdk
perl-Kolab-LDAP-0.9.3-0.20050801.1mdk
openldap-clients-2.3.6-4mdk
Database - Berkley DB
libdbus-glib-1_0-0.23.4-5mdk
libdbus-qt-1_0-0.23.4-5mdk
libdbus-1_0-0.23.4-5mdk
libdb4.2-4.2.52-7mdk
INSTALL LDAP Server
[root@mybox openldap-2.3.20]# urpmi openldap-server
To satisfy dependencies, the following 2 packages are going to be installed (3 MB):
db42-utils-4.2.52-7mdk.i586
openldap-servers-2.3.6-4mdk.i586
Is this OK? (Y/n) Y
installing db42-utils-4.2.52-7mdk.i586.rpm from /var/cache/urpmi/rpms
Preparing... #############################################
1/2: db42-utils #############################################
ftp://gd.tuwien.ac.at/pub/linux/Mandriva/official/2006.0/i586/media/
main/openldap-servers-2.3.6-4mdk.i586.rpm
installing openldap-servers-2.3.6-4mdk.i586.rpm from /var/cache/urpmi/rpms
Preparing... #############################################
1/1: openldap-servers #############################################
Now to get Ldap Commands, I have downloaded openldap-client
[root@localhost openldap]# urpmi openldap-client
ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/MandrivaLinux/official/
2006.0/i586/media/main/openldap-clients-2.3.6-4mdk.i586.rpm
installing openldap-clients-2.3.6-4mdk.i586.rpm from /var/cache/urpmi/rpms
Preparing... #############################################
1/1: openldap-clients #############################################
Configuration Files :
/etc/openldap/slapd.conf
/etc/openldap/ldap.conf
Will also need to create a .ldif file where address informations are stored.
Heres one good Tutorial on LDAP
No comments:
Post a Comment