Plone 4.2.1 と plone.app.ldap 1.3 をインストールしました。LDAP サーバーがアクティブ化されている場合、LDAP ユーザーはログインできますが、管理者は@@usergroup-userprefs
ページにアクセスできません。次のようにいくつかのエラーが発生します。
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)