Apache,Trac和LDAP – 如何将它们粘合在一起?
我试图设置Trac来授权用户通过Debian(Lenny)服务器上的LDAP插件 。 LDAP似乎正常工作,我可以通过查询成功: ldapsearch -vLx -h 127.0.0.1 -b "dc=example, dc=com" "(sn=mysurname)" 如果我故意破坏我的Apache LDAP地址设置,我可以在/var/log/apache2/error.log中看到错误 2010-08-27 17:19:38,909 Trac[api] WARNING: LDAP error: No such object (dc=examplefoo,dc=com) 当我访问http://example.com:8022/trac并点击loginbutton,popupauthentication窗口(再次确认LDAP正在踢), 但是 ,当我input正确的用户名/密码时,我只是得到一个Trac网站页面: Trac Error Authentication information not available. Please refer to the installation documentation. TracGuide — The Trac User and Administration Guide 日志同样没有帮助(忽略svn错误,我知道这一点): 2010-09-01 14:25:30,553 Trac[api] DEBUG: NEEDS UP?: sys:False, rep:False, […]