[Zope-CMF] CMF/LDAP auth
Jens Vagelpohl
jens@zope.com
Thu, 21 Mar 2002 07:48:50 -0500
there have been some changes to the *core* CMF checked in on 3/18 which
moved method calls around between the Membership Tool and the Member Data
Tool. i'm not sure why those were made since they obviously will break a
lot of code but i will take a closer look over the next few days...
jens
On Tuesday, March 19, 2002, at 11:12 , larry_prikockis@NatureServe.org
wrote:
> Hi...
> I'm sure this is something silly, as I had it working before but... here
> goes:
>
> I'm running Zope 2.5, the latest CMF out of CVS and the latest version of
> LDAPUserFolder...
> I can set up the LDAP user folder so I can correctly talk to the LDAP
> server, look up users/groups, etc.
> However-- when I try to log into the CMF Portal, I get the following:
>
>
> Traceback (innermost last):
> File /zope/Zope-2.5.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
> 150, in publish_module
> File /zope/Zope-2.5.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
> 114, in publish
> File /zope/Zope-2.5.0-linux2-x86/lib/python/Zope/__init__.py, line 158,
> in
> zpublisher_exception_hook
> (Object: test)
> File /zope/Zope-2.5.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
> 98, in publish
> File /zope/Zope-2.5.0-linux2-x86/lib/python/ZPublisher/mapply.py, line
> 88,
> in mapply
> (Object: logged_in)
> File /zope/Zope-2.5.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
> 39, in call_object
> (Object: logged_in)
> File /zope/Zope-2.5.0-linux2-x86/lib/python/Shared/DC/Scripts/Bindings.
> py,
> line 252, in __call__
> (Object: logged_in)
> File /zope/Zope-2.5.0-linux2-x86/lib/python/Shared/DC/Scripts/Bindings.
> py,
> line 283, in _bindAndExec
> (Object: logged_in)
> File
> /zope/Zope-2.5.0-linux2-x86/lib/python/Products/PageTemplates/ZopePageTempla
> te.py, line 207, in _exec
> (Object: logged_in)
> File /zope/Zope/lib/python/Products/CMFDecor/FSPageTemplate.py, line 111,
> in pt_render
> (Object: logged_in)
> File
> /zope/Zope-2.5.0-linux2-x86/lib/python/Products/PageTemplates/PageTemplate.
> p
> y, line 86, in pt_render
> (Object: logged_in)
> File /zope/Zope-2.5.0-linux2-x86/lib/python/TAL/TALInterpreter.py, line
> 158, in __call__
> File /zope/Zope-2.5.0-linux2-x86/lib/python/TAL/TALInterpreter.py, line
> 191, in interpret
> File /zope/Zope-2.5.0-linux2-x86/lib/python/TAL/TALInterpreter.py, line
> 523, in do_useMacro
> File /zope/Zope-2.5.0-linux2-x86/lib/python/TAL/TALInterpreter.py, line
> 191, in interpret
> File /zope/Zope-2.5.0-linux2-x86/lib/python/TAL/TALInterpreter.py, line
> 542, in do_defineSlot
> File /zope/Zope-2.5.0-linux2-x86/lib/python/TAL/TALInterpreter.py, line
> 191, in interpret
> File /zope/Zope-2.5.0-linux2-x86/lib/python/TAL/TALInterpreter.py, line
> 491, in do_condition
> File /zope/Zope-2.5.0-linux2-x86/lib/python/TAL/TALInterpreter.py, line
> 191, in interpret
> File /zope/Zope-2.5.0-linux2-x86/lib/python/TAL/TALInterpreter.py, line
> 491, in do_condition
> File /zope/Zope-2.5.0-linux2-x86/lib/python/TAL/TALInterpreter.py, line
> 191, in interpret
> File /zope/Zope-2.5.0-linux2-x86/lib/python/TAL/TALInterpreter.py, line
> 402, in do_setLocal_tal
> File
> /zope/Zope-2.5.0-linux2-x86/lib/python/Products/PageTemplates/TALES.py,
> line
> 247, in evaluate
> File
> /zope/Zope-2.5.0-linux2-x86/lib/python/Products/PageTemplates/ZRPythonExpr.
> p
> y, line 49, in __call__
> (Info: member.setProperties(last_login_time=member.login_time))
> File Python expression
> "member.setProperties(last_login_time=member.login_time)", line
> 2,
> in f
> File /zope/Zope/lib/python/Products/CMFCore/MemberDataTool.py, line 241,
> in setProperties
> TALESError: Sorry, an error occurred
>
>
> ----------------------
> any idea what's going on? I've been scratching my head on this one all
> morning and can't figure out where it's frelled up...
>
>
> +
> Larry J. Prikockis
> Internet Systems Specialist, NatureServe
> Voice:703-908-1833 / Fax:703-908-1917 /
> Email:larry_prikockis@NatureServe.org
> www.NatureServe.org
> +
> All programmers are optimists. Perhaps this modern sorcery especially
> attracts those who believe in happy endings and fairy godmothers. Perhaps
> the hundreds of nitty frustrations drive away all but those who habitually
> focus on the end goal. Perhaps it is merely that computers are young,
> programmers are younger, and the young are always optimists. But however
> the
> selection process works, the result is indisputable: "This time it will
> surely run," or "I just found the last bug."
> -- Frederick P. Brooks, Jr., The Mythical Man Month
>
>
> _______________________________________________
> Zope-CMF maillist - Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
> requests