Hi,

Sorry for my english (and if it's not the right place to post my message).

I've installed Plone.

I've installed OpenLDAP too.

All is ok with OpenLDAP. A can read and write into directory easy.

I have installed PloneLDAP too. And, of course, add all plugins into my 
plone-site.

So... now the hell:

I can normally login into plone with an user of LDAP directory.

But the first page of site and the page 'events' only return to me: IndexError.

I'm being crazy with this... I was try put all permissions in all roles. Tried 
to reinstall with latest version and old versions... the same error (log error 
is on end of this message).

-----------------------
Site error

This site encountered an error trying to fulfill your request. The errors were:

Error Type
    IndexError
Error Value
    list index out of range
Request made at
    2008/03/31 12:52:33.372 GMT-3
-----------------------


I naturaly tried one by one of: 

Authentication  (authenticateCredentials)
Reset Credentials (resetCredentials)
Group_Enumeration (enumerateGroups)
Group_Introspection (getGroupById)
Group_Management (removePrincipalFromGroup)
Groups (getGroupsForPrincipal)
Properties (getPropertiesForUser)
Role_Enumeration (enumerateRoles)
Roles (getRolesForPrincipal)
User_Adder (doAddUser)
User_Enumeration (enumerateUsers)
User_Management (doChangeUser)


I discovered one thing: 'User_Enumeration' start my error situation. But if I 
remove 'User_Enumeration' I naturaly can't handle some infos of user in 
plone-site.

So, can someone help me with this (or answer some questions above?):

What information I need to store into LDAP? Just username and password?

The password must be stored into LDAP?

And about roles and groups? Can I store into Zope ou must I store into LDAP?

Must I search for some OpenLDAP 'schema' for Plone or it's insane?

When I authenticate an user (test, for example), what roles this user have by 
default (supposing I create user directly into OpenLDAP system and not using 
Plone).


Heres my log:

2008-03-31T12:54:17 ERROR Zope.SiteErrorLog 
http://mysite:8081/myplone/front-page/document_view
Traceback (innermost last):
  Module ZPublisher.Publish, line 115, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 41, in call_object
  Module Shared.DC.Scripts.Bindings, line 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.CMFCore.FSPageTemplate, line 195, in _exec
  Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
  Module Products.PageTemplates.PageTemplate, line 104, in pt_render
   - <FSPageTemplate at /myplone/document_view used for /myplone/front-page>
  Module TAL.TALInterpreter, line 238, in __call__
  Module TAL.TALInterpreter, line 281, in interpret
  Module TAL.TALInterpreter, line 749, in do_useMacro
...

  Module TAL.TALInterpreter, line 507, in do_setLocal_tal
  Module Products.PageTemplates.TALES, line 221, in evaluate
   - URL: file:CMFPlone/skins/plone_content/document_byline.pt
   - Line 15, Column 8
   - Expression: <PythonExpr mtool.getMemberInfo(creator)>
   - Names:
      {'container': <PloneSite at /myplone>,
       'context': <ATDocument at /myplone/front-page>,
       'default': <Products.PageTemplates.TALES.Default instance at 0xb71c476c>,
       'here': <ATDocument at /myplone/front-page>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xc3cc26c>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter 
instance at 0xb71ec34c>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xc3cc26c>,
       'request': <HTTPRequest, 
URL=http://mysite:8081/myplone/front-page/document_view>,
       'root': <Application at >,
       'template': <FSPageTemplate at /myplone/document_view used for 
/myplone/front-page>,
       'traverse_subpath': [],
       'user': <SpecialUser 'Anonymous User'>}
  Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
   - __traceback_info__: mtool.getMemberInfo(creator)
  Module Python expression "mtool.getMemberInfo(creator)", line 1, in 
<expression>
  Module Products.CMFPlone.MembershipTool, line 83, in getMemberInfo
  Module Products.CMFCore.MembershipTool, line 347, in getMemberById
  Module Products.CMFCore.MembershipTool, line 357, in _huntUser
  Module Products.PluggableAuthService.PluggableAuthService, line 218, in 
getUserById
  Module Products.PluggableAuthService.PluggableAuthService, line 777, in 
_verifyUser
  Module Products.LDAPMultiPlugins.LDAPMultiPlugin, line 172, in enumerateUsers
  Module Products.LDAPUserFolder.LDAPUserFolder, line 736, in getUserById
  Module Products.LDAPUserFolder.LDAPUserFolder, line 686, in getUserByAttr
IndexError: list index out of range

[]'s
AlexanDER

_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup

Reply via email to