admin管理员组

文章数量:1648393

ubuntu16.04部署LDAP服务,及WEB支持 ldap-account-manager。

部署过程:

# apt-get install -y slapd

# apt-get -y install ldap-account-manager

期间遇到如下问题:

浏览器访问
http://ip/lam无法访问(360浏览器啥都不提示,被坑了很长时间,后来用IE浏览器报500错误)

修改php.ini,输出错误信息

# vim /etc/php/7.0/apache2/php.ini

display_errors = Off  ==》 display_errors = On

error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT  ==》  error_reporting = E_ALL | E_STRICT

重启apache2

# /etc/init.d/apache2 restart

刷新网页,浏览器出现如下错误:

Fatal error: 'continue' not in the 'loop' or 'switch' context in /usr/share/ldap-account-manager/lib/modules/nisNetGroupUser.inc on line 562

找到个类似错误:

https://stackoverflow/questi

本文标签: ldapManagerAccount