On Mon, May 20, 2019 at 3:49 AM Michael Bomballa <[email protected]>
wrote:

> Hello,
>
> modifying trac.ini to
>
> [account-manager]
> ...
> password_store = DirAuthStore
> ...
>
> and stopping/ starting tracd
>
> /usr/bin/python /usr/bin/tracd -d --port 8000 /local/trac/trac1/ittk
>
> the following error is shown :
>
> *Warning:*
>
>    - Error with navigation contributor "AdminModule"
>    - Error with navigation contributor "SearchModule"
>    - Error with navigation contributor "RoadmapModule"
>    - Error with navigation contributor "QueryModule"
>    - Error with navigation contributor "ReportModule"
>    - Error with navigation contributor "TicketModule"
>    - Error with navigation contributor "TimelineModule"
>    - Error with navigation contributor "WikiModule"
>
> Trac Error
>
> cannot bind to ldap://localhost: {'desc': "Can't contact LDAP server"}
>
> TracGuide <http://10.128.3.217:8000/ittk/wiki/TracGuide> — The Trac User
> and Administration Guide
>

Looks like [account-manager] dir_uri does not contain the address of your
LDAP server.
https://trac-hacks.org/browser/directoryauthplugin/trunk/tracext/dirauth/auth.py#L43

Navigate to /wiki/TracIni#account-manager-section on your server and you
can see documentation and default values for the options that need to be
configured for [account-manager]. DirectoryAuthPlugin adds several options
that must be specified for connecting to LDAP.

- Ryan

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/CA%2BBGpn8XqzELL1wKn0_wiXamUOPU%3Dw4JjdQLRrQj1YO988OU6g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to