Hello,

can I help?

I've to integrate Zope3 in an existent ldap-environment
here - and, in my opinion, ldap is a "main-feature"
(e.g. in Identity Management).

That's worth thinking about, or?

Markus


On Wednesday 18 May 2005 00:41 Roger Ineichen wrote:
> Hi Florent
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Florent Guillaume
> > Sent: Wednesday, May 18, 2005 12:29 AM
> > To: Dylan Reinhardt
> > Cc: zope3-users@zope.org
> > Subject: Re: [Zope3-Users] LDAP support -- current status?
> >
> > I haven't work on ldappas since the last sprint, but I'll start
> > working again with LDAP in Zope 3 soon. I'll try to look at that
> > tomorrow, but I can't promise anything.
> >
> > It's unfortunate this (and other) package are living outside
> > the main
> > Zope tree. I understand the reasons, but I wish we could find a way.
> > Could conditionals in zcml help us there ? So that it doesn't get
> > included if ldap is not a python package, but still can be the rest
> > of the time ? Although it depends on non-core product, it's
> > something
> > that really should be part of the main tree IMHO.
>
> I agree,
> such a important standard addon for the PAU should be included in
> the distribution for the future.
>
> Regards
> Roger Ineichen
>
> > Florent
> >
> > On 18 May 2005, at 00:10, Dylan Reinhardt wrote:
> > > I'm getting closer... the reason ldappas is not addable to
> >
> > PAU is that
> >
> > > it doesn't implement IContainedPrincipalSource.  That was
> >
> > easy enough
> >
> > > to fix.
> > >
> > > It then needs to implement principalInfo, which I attempted to
> > > implement both as a thin wrapper for get() and as a wrapper
> >
> > for get()
> >
> > > that returned a PrincipalInfo object similar to the one
> >
> > implemented in
> >
> > > PrincipalFolder.
> > >
> > > Neither approach worked and either way I'm getting unicode decoding
> > > errors in ldapadapter/utility.py, line 151.   (UnicodeDecodeError:
> > > 'utf8' codec can't decode byte 0x80 in position 3: unexpected code
> > > byte).
> > >
> > > I'm clearly in over my head at this point... it doesn't appear that
> > > the required changes are easily made, or at least not easily made by
> > > someone of my skill level.  :-)
> > >
> > > Florian, is there any kind of bribe I can offer you to help me out?
> > > I'm serious.
> > >
> > > Dylan
> > >
> > > On 5/17/05, Dylan Reinhardt <[EMAIL PROTECTED]> wrote:
> > >> On 5/17/05, Stephan Richter <[EMAIL PROTECTED]> wrote:
> > >>> On Tuesday 17 May 2005 14:24, Dylan Reinhardt wrote:
> > >>>> If LDAP auth for PAU exists, or if there is a howto or doc
> > >>>> explaining
> > >>>> how to do make ldapauth or ldappas work with PAU, I would greatly
> > >>>> appreciate a shove in the right direction.
> > >>>
> > >>> ldappas was developed for PAU, but Jim made some PAU API changes
> > >>> in February
> > >>> or March that probably make it fail. The fixes should be pretty
> > >>> shallow.
> > >>
> > >> Thanks for the quick response and inspiration.
> > >>
> > >> I've made some changes that allow ldappas and ldapadapter to load,
> > >> create compoents and register them, but am a bit stuck after that.
> > >> Here's what changes I've made:
> > >>
> > >> In ldapadapter/browser/configure.zcml:
> > >> Line 18:
> > >> -  class="zope.app.utility.browser.AddRegistration"
> > >> + class="zope.app.component.browser.utility.AddRegistration"
> > >>
> > >> Line 22:
> > >> - arguments="name interface"
> > >> + arguments="name"
> > >> + keyword_arguments="interface"
> > >>
> > >> In ldappas/configure.zcml:
> > >> Line 14 and 19
> > >> changed "zope.app.pas.interfaces" to
> > >> "zope.app.authentication.interfaces"
> > >>
> > >> In ldappas/authentication.py
> > >> Lines 26 & 27:
> > >> Changed "zope.app.pas.interfaces" to
> > >> "zope.app.authentication.interfaces"
> > >>
> > >> Those changes allow ldappas and ldapadapter to load and
> >
> > then I'm able
> >
> > >> to add, configure and register my LDAP adapter and LDAP auth plugin
> > >> components.  It seems to work correctly and the adapter tests OK.
> > >>
> > >> But my pluggable auth utility still can't see the ldap plugin.
> > >>
> > >> I feel like I must be pretty close here... any suggestions
> >
> > greatly
> >
> > >> appreciated.
> > >>
> > >> Thanks,
> > >>
> > >> Dylan
> >
> > --
> > Florent Guillaume, Nuxeo (Paris, France)   CTO, Director of R&D
> > +33 1 40 33 71 59   http://nuxeo.com   [EMAIL PROTECTED]
> >
> >
> > _______________________________________________
> > Zope3-users mailing list
> > Zope3-users@zope.org
> > http://mail.zope.org/mailman/listinfo/zope3-users
>
> _______________________________________________
> Zope3-dev mailing list
> Zope3-dev@zope.org
> Unsub:
> http://mail.zope.org/mailman/options/zope3-dev/ml_zope3_dev%40ikom-online.d
>e

-- 
IKOM - Ingenieurbüro für Datenschutz und Datensicherheit
Dipl.-Ing. Markus Leist
Fon.: +49 2151 941610 / Fax.: +49 2151 941611
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to