ldap的web介面yala

來源:互聯網
上載者:User

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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.