logo       
Google Custom Search
    AddThis Social Bookmark Button

Solution to Python error: schema.listall() does not exist: msg#00000

Subject: Solution to Python error: schema.listall() does not exist
I'm new to Luma and just installed 1.4pre4 on Fedora Core 2. I ran across
the same error others had ... AttributeError: "NoneType" object has no
attribute "listall".

What I discovered is that Luma did not have permission to access the
subschema on my OpenLDAP server.  I added the following to my slapd.conf and
that took care of the problem:

  access to dn.base="" by * read
  access to dn.base="cn=Subschema" by * read

Unfortunately, I don't know why this is necessary; I was binding with my
rootdn user, who I thought had access to everything.  Perhaps someone else
has time to shed some light on the matter.

-- 
Ron Bickers
Logic Etc, Inc.


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com


<Prev in Thread] Current Thread [Next in Thread>