架設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,就可以顯示了,可能是版本不相容吧。。