Thursday, May 30, 2013



1. Configure the network (static IP).


sudo apt-get update


3.  Edit /etc/hosts The installation will take the domain name of the line

Server.m4dom.local server 127.0.1.1

4. It is advisable to change the hostname in / etc / hostname to match the way you made ​​to / etc / hosts.
5. Install the LDAP server. During the installation we will be asked for the password of the administrator of the LDAP tree.

sudo apt-get install slapd ldap-utils

6. Verify the correct operation of LDAP

ldapsearch-x-LLL-b dc = m4dom, dc = local

7. Install the phpldapadmin

sudo apt-get install phpldapadmin

8. Properly configure phpldapadmin. Edit /etc/phpldapadmin/config.php and replace dc = example, dc = tld our domain name (dc=example,dc=com). Restart Apache

service apache2 restart

9. We can manage to enter the domain through the URL http://sserver/phpldapadmin. We login with
User: cn = admin, dc = m4dom, dc = local
password: entry during the installation of slapd

0 comments:

Post a Comment

TOP