List Info

Thread: tracd standalone server starting with LDAP Authentication




tracd standalone server starting with LDAP Authentication
user name
2008-01-21 10:12:25
Sorry for the inconvenience,
 
I re-installed  tracLDAPauth module like a plugin and it works ( I've made my own setup.py and copied my .egg in plugins, ....ok,  i'm a newbie in Python....I thought tracLDAPauth  was a Python module and not a trac plugins :-s.....)
 
But I'm still trying to launch Tracd with LDAP authentication, what are the parameters? here we don't have a password file, so what is the structure?
 
"
tracd --port 8000 –basic-auth=trac, password_file_path, trac ;c:/trac    ????????
 
"

Thank you for your help!
 
 
jm from Lyon.

-Python 2.5-

-trac0.11b1-


 

From: jmdevboxhotmail.fr
To: trac-usersgooglegroups.com
Subject: [Trac] LDAP Authentication settings, and running with tracd server
Date: Mon, 21 Jan 2008 13:53:41 +0100


 Hi Trac-Users,
 
This mail deals with LDAP authentication settings, can experienced users help me? 
I don't even know how to launch tracd server in order to take account LDAP Authentication.
 
 
Here are the steps I proceed and some questions It raised:
 
 
1- I installed the plugin "Accountmanager" and checked it in webadmin, it's ok.
 
 
2- I installed the Python LDAP module: python-ldap-2.3.1.win32-py2.5-setup.exe  in http://www.osuch.org/python-ldap
 
     C:Python25Libsite-packagesldap      ; has been created, ok.
 
 
3- I installed tracLDAPauth module:
 
         ;     - unzipped TracLDAPAuth-1.0-py2.4.zip
           ;   - renamed it in.egg
           ;   - pasted it in C:Python25Libsite-packages


           ;    now I got C:Python25Libsite-packagesTracLDAPAuth-1.0-py2.4.egg

 

Is this install ok?


 

4) In trac Webadmin, Accounts, configuration I have :


           HttpAuthStore :       ;          auth_url:           ;         http://my remote machine which hosts trac


           my remote machine hosts trac in c:trac

 

 

What is the goal of this settings?

How does it interact with LDAP authentification?


 

 

5) In my trac.ini I made this change :


       

 

         ;    acct_mgr.web_ui.LoginModule = disabled (disable html login form)


           but I saw in docs this settings « trac.web.auth.LoginModule »

 

 

Do I have to set it to "Enabled" for Ldap authentification running?

 

 

 

 

6) In [trac] section of trac.ini:

 

 

What are the settings for these values when using LDAP authentication?


[trac]

authz_file = ????

authz_module_name = ????

 

 

 

7) I added this section in trac.ini, I think it's ok, can you confirm me ?

 


 

[ldap]

bind_dn = dc=tree,dc=ldap,ou=my,uid=%s          ;           ;   -for a request in the LDAP tree : my.ldap.tree-

bind_passwd = my_ldap_password_for_bind_user

bind_user = my_ldap_bind_useruser

port = 389

server = -IP adress of my LDAP server-

 


 

8) At last:

 

          About starting tracd standalone server in LDAP mode:


          I read in mailing list that Ldap authentication use "Basicauth" so I guessed tracd starting script

          begins like:


         tracd --port 8000 –basic-auth=trac, password_file_path, trac ;c:/trac

 

What is the setting for password_file_path in case of Ldap authentication?

 

 

 

THANKS A LOT FOR YOUR AVAIBILITY AND YOUR HELP! ;  

 

 

jm from Lyon.

-Python 2.5-

-trac0.11b1-

...................................-After many days trying different settings and reading docs- ..................................................

 

 

 

 



Windows Live Messenger 2008 vient de sortir, discutez avec vos amis en vidéo ! Téléchargez gratuitement Messenger 2008
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users"; group.
To post to this group, send email to trac-usersgooglegroups.com
To unsubscribe from this group, send email to trac-users-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )