-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Merci pour le retour.

        J.

Baudot, Valentin wrote:
> Merci.
> 
> J'utilise CPS3.2.4
> Çà marche correctement avec LDAPUserGroupFolder.
> 
> -----Message d'origine-----
> De : Julien Anguenot [mailto:[EMAIL PROTECTED] 
> Envoyé : lundi 24 octobre 2005 13:29
> À : Baudot, Valentin
> Cc : [email protected]
> Objet : Re: [CPS-users-fr] Problème avec CPS et LDAPUserFolder
> 
> Baudot, Valentin wrote:
> 
>>>J?essai d?installer l?authentification LDAP de CPS sous windows mais
>>>j?ai des problèmes?
>>>
>>> 
>>>
>>>-          J?utilise CPS 3.2.4 et LDAPUserFolder 2.5
> 
> 
> Il faut utiliser LDAPUserGroupsFolder pour un configuration standard de
> CPS (à moins que tu saches ce que tu fais ?)
> 
> http://svn.nuxeo.org/trac/pub/browser/LDAPUserGroupsFolder/trunk/
> 
> 
>>> 
>>>
>>>-          La lib python-ldap est bien installée (installeur windows +
>>>verification avec "import ldap")
>>>
>>> 
>>>
>>>-          J?ai copié LDAPUserFolder dans les products, supprimer
>>>l?ancien acl_users du site cps et créé le nouveau avec ldapUserFolder.
>>>
>>> 
>>>
> 
> 
> ok pour ça.
> 
> 
>>>-          J?utilise le serveur LDAP ?Aphelion?
>>>
>>> 
> 
> 
> Jamais essayé.
> 
> 
>>>J?arrive à visualiser les users LDAP sous CPS mais lorsque j?essai de
>>>m?authentifié j?ai l?erreur suivante :
>>>
>>>
>>>    *Site Error*
>>>
>>>An error was encountered while publishing this resource.
>>>
>>>**TypeError**
>>>
>>>Sorry, a site error occurred.
>>>
>>>Traceback (innermost last):
>>>
>>>    * Module ZPublisher.Publish, line 175, in publish_module_standard
>>>    * Module Products.Localizer, line 58, in new_publish
>>>    * Module ZPublisher.Publish, line 132, in publish
>>>    * Module Zope.App.startup, line 204, in zpublisher_exception_hook
>>>    * Module ZPublisher.Publish, line 101, in publish
>>>    * Module ZPublisher.mapply, line 88, in mapply
>>>    * Module ZPublisher.Publish, line 39, in call_object
>>>    * Module Shared.DC.Scripts.Bindings, line 306, in __call__
>>>    * Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
>>>    * Module Products.CMFCore.FSPageTemplate, line 191, in _exec
>>>    * Module Products.CMFCore.FSPageTemplate, line 124, in pt_render
>>>    * Module Products.PageTemplates.PageTemplate, line 96, in pt_render
>>>      *<FSPageTemplate at /cps/logged_in>*
>>>    * Module TAL.TALInterpreter, line 190, in __call__
>>>    * Module TAL.TALInterpreter, line 234, in interpret
>>>    * Module TAL.TALInterpreter, line 409, in do_optTag_tal
>>>    * Module TAL.TALInterpreter, line 394, in do_optTag
>>>    * Module TAL.TALInterpreter, line 389, in no_tag
>>>    * Module TAL.TALInterpreter, line 234, in interpret
>>>    * Module TAL.TALInterpreter, line 671, in do_useMacro
>>>    * Module TAL.TALInterpreter, line 234, in interpret
>>>    * Module TAL.TALInterpreter, line 460, in do_setLocal_tal
>>>    * Module Products.PageTemplates.TALES, line 221, in evaluate
>>>      *Line 3, Column 0*
>>>      *Expression: <PythonExpr btool.getBoxes(here)>*
>>>      *Names:*
>>>
>>>·                {'container': <CPSDefaultSite instance at 01DAFB90>,
>>>
>>>·                 'context': <CPSDefaultSite instance at 01DAFB90>,
>>>
>>>·                 'default': <Products.PageTemplates.TALES.Default instance 
>>>at 0x0112D3F0>,
>>>
>>>·                 'here': <CPSDefaultSite instance at 01DAFB90>,
>>>
>>>·                 'loop': <SafeMapping instance at 01F42B00>,
>>>
>>>·                 'modules': 
>>><Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 
>>>0x0111A418>,
>>>
>>>·                 'nothing': None,
>>>
>>>·                 'options': {'args': ()},
>>>
>>>·                 'repeat': <SafeMapping instance at 01F42B00>,
>>>
>>>·                 'request': <HTTPRequest, 
>>>URL=http://localhost:88/cps/logged_in>,
>>>
>>>·                 'root': <Application instance at 01D48D70>,
>>>
>>>·                 'template': <FSPageTemplate at /cps/logged_in>,
>>>
>>>·                 'traverse_subpath': [],
>>>
>>> 'user': a}
>>>
>>>    * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
>>>      __traceback_info__: btool.getBoxes(here)
>>>    * Module Python expression "btool.getBoxes(here)", line 1, in
>>>      <expression>
>>>    * Module Products.CPSDefault.BoxesTool, line 88, in getBoxes
>>>    * Module Products.CPSCore.CPSMembershipTool, line 442, in getHomeFolder
>>>    * Module Products.CPSCore.CPSMembershipTool, line 457, in
>>>      getHomeFolderId
>>>    * Module Products.CPSCore.utils, line 173, in makeId
>>>
>>>TypeError: character mapping must return integer, None or unicode (Also,
>>>an error occurred while attempting to render the standard error message.)
>>>
> 
> 
> oups, pb d'encoding. Tu dois avoir des accents dans l'identifiant de ton
> utilisateur n'est-ce pas ?
> 
> Sur qu'elle version de CPS as-tu testé ?
> 
> 
>>> 
>>>
>>>De plus, j?ai vu sur un autre post qu?il fallait installer le produit
>>>?CMFLdap?, mais lorsque j?essai d?ajouter le "LDAP Member data tool"
>>>j?ai l?erreur suivante :
>>>
>>>?BadRequest: The id "portal_memberdata" is invalid - it is already in
>>>use. (Also, an error occurred while attempting to render the standard
>>>error message.)?
>>>
> 
> 
> nan pas besoin de faire ça.
> 
>       J.
> --
> Julien Anguenot | Nuxeo R&D (Paris, France)
> CPS Platform : http://www.cps-project.org
> Zope3 / ECM   : http://www.z3lab.org
> mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66

- --
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM   : http://www.z3lab.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFDXQwXGhoG8MxZ/pIRAqxAAJ9Z3We3VEkMqvEYO16s9vInZzj/vQCfca2I
fJeXvlcaRFCYWg0NQ81nckM=
=n17P
-----END PGP SIGNATURE-----
_______________________________________________
cps-users-fr 
Adresse de la liste : [email protected]
Gestion de l'abonnement : <http://lists.nuxeo.com/mailman/listinfo/cps-users-fr>

Répondre à