I have fixed this myself. This thread is closed. I used the demo code
from the ldap code page:
http://code.gustavonarea.net/repoze.who.plugins.ldap/Demo.html

On Apr 16, 3:52 pm, Abhi <[email protected]> wrote:
> I want to enable LDAP based authentication for my app. So I
> quickstarted a sample app and chose no for authentication when
> prompted because I don't want a db backend. I installed the
> repoze.who.plugins.ldap for this purpose.
>
> The doc for the ldap plugin refers to a who.ini based file setup and
> the tg2 docs mention on how to use a who.ini setup. So I consulted
> both of them and setup my app. When I navigate to localhost:8080,  I
> get this error:
>
> http://pastebin.com/tM49PdkU
>
> Here is my who.ini file:http://pastebin.com/jS6Hv32u
>
> my middleware.py file:http://pastebin.com/wYYkiwxS
>
> I found the config part(repoze esp.) the most difficult of all in TG2,
> the controllers and model were easy to understand and develop.
>
> Regards,
> Abhi
>
> --
> You received this message because you are subscribed to the Google Groups 
> "TurboGears" 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 
> athttp://groups.google.com/group/turbogears?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en.

Reply via email to