[Zope] Adding LDAPUserFolder
Braun Brelin
bbrelin@openapp.biz
Tue, 22 Apr 2003 17:47:11 +0100
The problem appears to be that the acl_user folder needs to be deleted before
the new LDAP User Folder gets created. However, the code doesn't really do a
good job of raising that as an error. (Isn't there a 'raise error' method
somewhere?). In my case, it doesn't raise it as an error at all. It just
simply returns silently. Also, I didn't see anything in the docs that
mentioned that the old acl_user folder had to be deleted before adding
LDAPUserFolder.
Braun Brelin
Quoting Jens Vagelpohl <jens@zope.com>:
> the LDAPUserFolder should be visible in the Zope Management Interface
> (ZMI) in the same container where you created it.
>
> if this is inside a plone portal there might be plone magic i don't
> know about. create one outside of the plone site in some test folder to
> make sure.
>
> jens
>
> On Tuesday, Apr 22, 2003, at 11:51 US/Eastern, Braun Brelin wrote:
>
> > Nope. No errors in the error log. Just to clarify. I'm assuming
> > that if the
> > "add" was succesful, I should see an "LDAPUserFolder" object appear in
> > my Plone
> > portal, right?
> >
> > Braun
> >
> >
> > Quoting Jens Vagelpohl <jens@zope.com>:
> >
> >> i have never seeen, and cannot replicate, "silent" failing when
> >> instantiating a LDAPUserFolder.
> >>
> >> i suggest you look at the site error log (/error_log in the ZMI) and
> >> see if any error gets logged there.
> >>
> >> jens
> >>
> >>
> >> On Tuesday, Apr 22, 2003, at 11:10 US/Eastern, Braun Brelin wrote:
> >>
> >>>
> >>> Hello,
> >>>
> >>>
> >>> I've installed LDAPUserFolder 2.1 and I'm trying to instantiate the
> >>> LDAPUserFolder within my Plone portal. The problem I'm having is
> >>> that
> >>> I fill in
> >>> all the fields in the create menu for the LDAPUserFolder, but when I
> >>> click "add"
> >>> it seems to fail silently. At least, the LDAPUserFolder doesn't get
> >>> created and
> >>> it doesn't fail with any errors. How the heck do I debug this if I
> >>> can't get at
> >>> least some sort of error? I've looked at the help pages and the
> >>> README's but
> >>> I'm not getting any sort of info there that will help me with this.
> >>>
> >>> I'm filling in the Add LDAP User Folder with the following values:
> >>>
> >>> Title: LDAPUserFolder
> >>> LDAP Server[:Port] 111.75.75.70:389 Read-only (checked)
> >>> Login Name Attribute: UID
> >>> RDN Attribute: UID
> >>> Users Base DN: ou=occupations, oc=departments,ou=personnel,
> >>> dc=myclient,dc=ie
> >>> Scope: Subtree
> >>> Groups Base DN: oc=groups,dc=myclient,dc=ie
> >>> Groups Storage: Groups stored on LDAP Server
> >>> Scope: Subtree
> >>> Manager DN: manager
> >>> Password: mypasswd
> >>> Use Password Encryption: crypt
> >>> Default User Roles: Anonymous
> >>>
> >>> Anybody have any suggestions? I'm running Zope 2.6.1 and
> >>> LDAPUserFolder 2.1 on a
> >>> Linux Red Hat 8 platform.
> >>>
> >>> Thanks,
> >>>
> >>> Braun Brelin
> >>>
> >>>
> >>> -------------------------------------------------
> >>> This mail sent through IMP: http://horde.org/imp/
> >>>
> >>> _______________________________________________
> >>> Zope maillist - Zope@zope.org
> >>> http://mail.zope.org/mailman/listinfo/zope
> >>> ** No cross posts or HTML encoding! **
> >>> (Related lists -
> >>> http://mail.zope.org/mailman/listinfo/zope-announce
> >>> http://mail.zope.org/mailman/listinfo/zope-dev )
> >>
> >>
> >> _______________________________________________
> >> Zope maillist - Zope@zope.org
> >> http://mail.zope.org/mailman/listinfo/zope
> >> ** No cross posts or HTML encoding! **
> >> (Related lists -
> >> http://mail.zope.org/mailman/listinfo/zope-announce
> >> http://mail.zope.org/mailman/listinfo/zope-dev )
> >>
> >
> >
> >
> >
> > -------------------------------------------------
> > This mail sent through IMP: http://horde.org/imp/
> >
> > _______________________________________________
> > Zope maillist - Zope@zope.org
> > http://mail.zope.org/mailman/listinfo/zope
> > ** No cross posts or HTML encoding! **
> > (Related lists -
> > http://mail.zope.org/mailman/listinfo/zope-announce
> > http://mail.zope.org/mailman/listinfo/zope-dev )
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/