Debian Squeeze LDAP Server With OpenLDAP And phpLDAPadmin
Debian Squeeze LDAP Server With OpenLDAP And phpLDAPadminThis tutorial will show you how you can set up an LDAP and webinterface to manage the LDAP server on Debian Squeeze. phpLDAPadmin url: http://phpldapadmin.sourceforge.net/wiki/index.php/Main_Page See screenshots of phpLDAP admin here: http://sourceforge.net/projects/phpldapadmin/ Server name: ldap.example.com
Domain name: example.com Now we want to make sure the server is up to date: apt-get
update First we install slapd and create a password for administrator: apt-get install slapd When prompted enter a password for the administrator of the LDAP server, I choose the password passw0rd in this example. Now we need to install ldap-utils and phpLDAPadmin, now apache2 and php will also be installed because it's a part of the dependencies for phpLDAPadmin. apt-get install ldap-utils phpldapadmin Open /etc/ldap/ldap.conf with your editor, e.g. nano: nano /etc/ldap/ldap.conf and uncomment BASE and URI and edit so it looks like this: # If you want to edit domain name I recommend to run following command: dpkg-reconfigure slapd Select NO and follow the guide, type in your domain, e.g. example.com, choose recommend settings. Now open /etc/phpldapadmin/config.php:
Your server is now up and running, ready to be used. and you should be able to access phpLDAPadmin on http://192.168.0.2/phpldapadmin; log in with following password passw0rd You should also read this page if you like me have problems creating posix groups + users: http://wiki.debian.org/PhpLdapAdmin
|



Recent comments
1 day 23 hours ago
2 days 7 hours ago
2 days 10 hours ago
2 days 12 hours ago
2 days 13 hours ago
2 days 15 hours ago
2 days 16 hours ago
2 days 17 hours ago
3 days 9 hours ago
3 days 10 hours ago