架设 LDAP web 界面 YALA
tar xjvf yala-0.32.tar.bz2
1.cp config.inc.php.example config.inc.php
2 . vi config.inc.php  在这一行改成自己 yala 所在的路径
define("UNIX_PATH", "/usr/local/apache/htdocs/yala");
3 .cp conf.d/ldap-servers.inc.php.example conf.d/ldap-servers.inc.php
define("LDAP_SERVER", "192.168.2.13");  改成 LDAP 服务器的 IP 或者名字
define("LDAP_PORT", "389"); LDAP 开放的端口
define("LDAP_BASEDN", "dc=examble,dc=com");  LDAPBASE
define("LDAP_BINDDN", "cn=root,dc=examble,dc=com"); LDAPBASEDN
# No good reason to use LDAPv2, unless an old PHP or LDAP Server
define("LDAP_VERSION", "3"); LDAP 的版本,现在都是版本 3 了。
# Use TLS to encrypt the ldap connection. Must be supported by server.
define("LDAP_TLS", FALSE);
4 . cp entry_type-config.inc.php.example entry_type-config.inc.php  新建用户需要这个文件
5 . cp conf.d/attr_desc-config.inc.php.example conf.d/attr_desc-config.inc.php
6 .  如果界面出现乱码的话,首先看 http.conf 文件,再看 yala/include/header.inc ,改  charset=utf-8
以上是我在 centos4.4 的版本上做得,我本来  httpd php 是用 rpm 方式安装的,后来 YALA 显示不出来,就改用源代码安装 http php ,就可以显示了,可能是版本不兼容吧!!
注意:如果httpd使用rpm装的话,就要装php-ldap包,如果是编译的话,就要加上--with-ldap=prefix