Table of Contents

Интерфейс phpldapadmin

Подготовка системы

Установка и настройка

FreeBSD

[server.corpX.un:~] # pkg_add -r phpldapadmin

[server.corpX.un:~] # cat /usr/local/etc/apache22/httpd.conf
...
DirectoryIndex index.html index.php
...
<Directory "/usr/local/www/phpldapadmin/htdocs">
    Options none
    AllowOverride none
    Order allow,deny
    Allow from all
</Directory>
... 
<IfModule alias_module>
     Alias /phpldapadmin/ "/usr/local/www/phpldapadmin/htdocs/"
... 
[server.corpX.un:~] # cat /usr/local/www/phpldapadmin/config/config.php

Ubuntu 12.04

root@server.corpX.un:~# apt-get install phpldapadmin

root@server.corpX.un:~# cat /etc/phpldapadmin/config.php

FreeBSD/Ubuntu 12.04

...
$servers->setValue('server','base',array('dc=corpX,dc=un'));
$servers->setValue('server','host','127.0.0.1');
$servers->setValue('login','bind_id','cn=admin,dc=corpX,dc=un');
$servers->setValue('auto_number','search_base','dc=corpX,dc=un');
?>

Ubuntu 10.04

root@server.corpX.un:~# cat /etc/apt/sources.list
deb http://ru.archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse
deb http://ru.archive.ubuntu.com/ubuntu/ lucid-updates main restricted universe multiverse
root@server.corpX.un:~# apt-get update

root@server.corpX.un:~# apt-get install phpldapadmin

root@server.corpX.un:~# rm /etc/phpldapadmin/config.php

root@server.corpX.un:~# dpkg-reconfigure phpldapadmin

Использование

http://server.corpX.un/phpldapadmin/