Hello,

Thanks for your reply.

This is the section for the auth to trac:
fortaleza:/etc/apache2# cat httpd.conf
<Location /intranet>
   SetHandler mod_python
   PythonInterpreter main_interpreter
   PythonHandler trac.web.modpython_frontend
   PythonOption TracEnv /var/trac/
   PythonOption TracEnvIndexTemplate /var/trac/templates
   PythonOption TracUriRoot /intranet
  AuthType Basic
  AuthName "Ubilibet Intranet Code"
  AuthUserFile /var/trac/trac_user.passwd
  Require valid-user
#   AuthBasicProvider ldap
#   Order Allow,Deny
#   Allow from All
#   AuthLDAPURL "ldap://pedralbes.ubilibet.com:389/dc=ubilibet,dc=org?uid"
#   AuthzLDAPAuthoritative on
#   Require ldap-user
</Location>

With this configuration it works, but with the password file. I want to use the ldap direcory as I try in the commented definitions.

This is what i get in the apache error log:
Server information ::: Apache/2.2.3 (Debian) DAV/2 SVN/1.4.2 mod_python/3.2.10 Python/2.4.4 PHP/5.2.0-8+etch10 mod_ssl/2.2.3

[Thu Apr 03 16:19:47 2008] [warn] [client 127.0.1.1] [4752] auth_ldap authenticate: user manou authentication failed; URI /intranet/report/7 [ldap_search_ext_s() for user failed][No such object], referer: https://fortaleza.ubilibet.com/intranet/report
[Thu Apr 03 16:19:47 2008] [error] [client 127.0.1.1] user manou not found: /intranet/report/7, referer: https://fortaleza.ubilibet.com/intranet/report

Thanks in advance.


Emmanuel Blot escribió:
 * Ldap *authentication* is performed by Apache with mod_ldap* modules
 * Ldap *permission* checking (if you need it) can be performed by
LdapPlugin (and there is no password file for this one)

For LDAP authentication only (permission checking is done with Trac
DB), you don't need any plugin if you use the default HTTP
authentication scheme.

Please post the relevant section of your Apache config file to get
some help, and do not forget to report which version of Trac and
Apache you are using.

HTH,
Manu

On Thu, Apr 3, 2008 at 11:16 AM,  <[EMAIL PROTECTED]> wrote:
  
 Hello,

 I am trying to set up ldap authentication metohd to trac, but i can't
 do it.

 I tried the apache method and the ldap plugin. The first one doesn't
 find the user and the second one gives me an error about missing
 password store file.

 Any guide, please ?¿

 >

    



  


--

Reply via email to