我已經安裝了Plone 4.2.1和plone.app.ldap 1.3。如果激活了ldap服務器,則ldap用戶可以登錄,但管理員無法訪問@@usergroup-userprefs
頁面。它如下拋出了一些錯誤:Plone @@ usergroup-userprefs使用plone.app.ldap崩潰
Traceback (innermost last):
Module ZPublisher.Publish, line 126, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 46, in call_object
Module plone.app.controlpanel.usergroups, line 198, in __call__
Module plone.app.controlpanel.usergroups, line 224, in doSearch
Module Products.PluggableAuthService.PluggableAuthService, line 211, in getUserById
Module Products.PluggableAuthService.PluggableAuthService, line 794, in _verifyUser
Module Products.LDAPMultiPlugins.LDAPMultiPlugin, line 190, in enumerateUsers
Module Products.LDAPUserFolder.LDAPUserFolder, line 810, in getUserById
Module Products.LDAPUserFolder.LDAPUserFolder, line 758, in getUserByAttr
IndexError: list index out of range
上禁用LDAP服務器,管理員可以訪問@@usergroup-userprefs
頁的Plone站點。 也安裝了OpenLDAP。當我運行命令$dpkg -l|grep OpenLDAP
時,我收到了以下列表。
ii ldap-utils 2.4.23-7.3 OpenLDAP utilities
ii libldap-2.4-2 2.4.23-7.3 OpenLDAP libraries
ii libldap2-dev 2.4.23-7.3 OpenLDAP development libraries
ii slapd 2.4.23-7.3 OpenLDAP server (slapd)
你有'很多用戶嗎?'在'@@ usergroup-controlpanel'上設置的選項? –
有沒有這樣的選項,我可以在這裏看到@http://stackoverflow.com/users/626302/dan-jacka – user956424
它可能是有益的知道:1.什麼屬性您的用戶用來標識自己,2.你的設置關於使用經理DN。我瘋狂的猜測是你的管理員不能從LDAP服務器爲其他人讀取足夠的屬性。 –