Nethence Newdoc Olddoc Lab Your IP BBDock  

Warning: those guides are mostly obsolete, please have a look at the new documentation.


Phpldapadmin configuration (RHEL5)
Make sure you've got those installed,
rpm -q \
httpd \
php \
Prepare PHP,
cd /etc/
mv php.ini php.ini.dist
sed 's/memory_limit = 16M/memory_limit = 32M/' php.ini.dist > php.ini
Fetch phpldapadmin ( and deploy it,
#tar xzf phpldapadmin-
tar xzf phpldapadmin-
mv phpldapadmin-*/ /var/www/html/ldap
Configure the frontend,
cd /var/www/html/ldap/config/
cp config.php.example config.php
vi config.php
$config->custom->jpeg['tmpdir'] = "/tmp";
Configure, start and enable the http daemon,
cd /etc/httpd/conf.d/
mv welcome.conf welcome.conf.dist
cd /etc/httpd/conf/
vi httpd.conf
change (add index.php),
DirectoryIndex index.html index.html.var index.php
cd ~/
service httpd start
chkconfig httpd on
Ready to go
Point your browser to the web page and login,
http: //ldapsrv/ldap/
login: cn=admin,dc=lusers,dc=example,dc=net
password: LDAP_PASSWORD (as defined in slapd.conf)

(obsolete, see the new doc)