First thing to check: is the LdapPlugin actually loaded ?

Have you enabled it in the [components] section ?

Enable Trac debug log level, and check out the status of the loader.

HTH,
Manu

On Thu, Jul 17, 2008 at 10:09 AM,  <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> i'm actually a new user on this mailing list and a newbie to trac
> utilisation ...
> i have installed trac 0.10.3 on a server running apache 2.2.3
> following the official instructions and everything seems to
> work fine (with apache2 password files) : authentication and
> permissions.
> In order to manage several projects, i am trying to authenticate users
> against our new OpenLDAP database.
> I have followed the instructions mentionned on the LdapPlugin page,
> installed the .egg file in the plugins directory of a test trac
> project, and added the trac.schema in my slapd.conf file.
>
> Whenever i want to access the url of my trac project, i always get the
> following error message :
>
> "AttributeError: Cannot find an implementation of the
> "IPermissionStore" interface named "LdapPermissionStore".  Please
> update the option trac.permission_store in trac.ini."
>
> Due to my lack of experiment, i can't find if this problem comes from
> my apache2 configuration, or a missing instruction in trac.ini.
>
> Has anyone already met this problem before ? I c/c my configuration
> below if it might help ...
>
> ldap.ini :
>
> [trac]
> ...
> permission_store = LdapPermissionStore
>
> apache2 virtual host file :
>
> <Location /devjava/login>
>           SetHandler mod_python
>           PythonInterpreter main_interpreter
>           PythonHandler trac.web.modpython_frontend
>           PythonOption TracEnvParentDir "/tmp/trac"
>           PythonOption TracUriRoot "/devjava/login"
>           AuthType Basic
>           AuthName "login LDAP"
>           AuthBasicProvider ldap
>           Order Allow,Deny
>           Allow from all
>           AuthLDAPURL "ldap://@ip:389/dc=*?uid";
>           AuthzLDAPAuthoritative off
>           Require valid-user
> </Location>
>
> thanks.
>
> Baptiste
>
>
>
>
>
>
>
>
>
> >
>



-- 
Manu

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to