OpenLDAP GUI管理工具

OpenLDAP GUI管理工具

GUI管理工具--Apache Directory Studio

http://directory.apache.org/studio/downloads.html

完全开源且跨平台的客户端管理工具,支持linux,windows,OS X,依赖jre7

以OS X平台为例

wget http://apache.fayea.com/directory/studio/2.0.0.v20151221-M10/ApacheDirectoryStudio-2.0.0.v20151221-M10-macosx.cocoa.x86_64.tar.gz

tar -xvf ApacheDirectoryStudio-2.0.0.v20151221-M10-macosx.cocoa.x86_64.tar.gz

sudo mv ApacheDirectoryStudio.app /Applications/

OpenLDAP <wbr>GUI管理工具

OpenLDAP <wbr>GUI管理工具

OpenLDAP <wbr>GUI管理工具

OpenLDAP <wbr>GUI管理工具





GUI管理工具--phpldapadmin

http://phpldapadmin.sourceforge.net/wiki/index.php/PreRequisites

1.PHP环境

请参看LNMP源码安装配置

编译php时要添加如下编译选项

yum install openldap-devel cyrus-sasl-devel

--with-ldap=/usr/lib64

--with-ldap-sasl=/usr/lib64

对于己安装好的php可以编译ldap.so模块来支持

cd /usr/local/src/php-5.6.17/ext/ldap

phpize

./configure --with-ldap=/opt/openldap/ && make -j4 && make install

echo "extension=ldap.so" >>/usr/local/php/etc/php.ini

service php-fpm restart


或者yum安装光盘自带httpd

yum -y install httpd php php-ldap

service httpd start


2.配置phpldapadmin

cd /var/www/html

tar -xvf /mnt/hgfs/linux_soft/ldap/phpldapadmin-1.2.3.tgz 

mv phpldapadmin-1.2.3 phpldapadmin

cp phpldapadmin/config/config.php.example phpldapadmin/config/config.php

vim phpldapadmin/config/config.php

$servers->setValue('server','host','192.168.8.100');

$servers->setValue('server','port',389);

$servers->setValue('login','bind_id','cn=Manager,dc=example,dc=com');

$servers->setValue('login','bind_pass','secret');

最简配置如上OpenLDAP <wbr>GUI管理工具

OpenLDAP <wbr>GUI管理工具



GUI管理工具--ldap-account-manager

https://www.ldap-account-manager.org/lamcms/

https://www.ldap-account-manager.org/static/doc/manual/index.html

1.LNMP/LAMP环境(略)

 

2.ldap-account-manager

tar -xvf ldap-account-manager-5.3.tar.bz2 -C /usr/local/src

cd /usr/local/src/ldap-account-manager-5.3

./configure --prefix=/usr/local/nginx/html/lam/ --with-httpd-user=nginx --with-httpd-group=nginx --with-web-root=/usr/local/nginx/html/lam/

make install

cd /usr/local/nginx/html/lam
chmod 777 sess/ tmp/
cp config/config.cfg.sample config/config.cfg
cp config/addressbook.conf.sample config/addressbook.conf
根据需求修改对应配置,必要时给予相应权限, 默认密码为lam
posted @ 2016-05-23 23:17  李庆喜  阅读(3778)  评论(0编辑  收藏  举报