Cannot connect to ldap

209 views
Skip to first unread message

Dennis Liou

unread,
Aug 11, 2016, 2:25:16 PM8/11/16
to Trac Users
Please help me.
This is my error:


Trac[env] INFO: -------------------------------- environment startup [Trac 1.0.2] -------------------------------- . . . Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/login'"> Trac[ldap_store] DEBUG: LdapAuthStore: Initiated Trac[web_ui] WARNING: AccountModule is disabled because the password store does not support writing. Trac[session] DEBUG: Retrieving session for ID '309060305318df5be905d3ed' Trac[main] DEBUG: Negotiated locale: None -> en_US Trac[svn_fs] DEBUG: Subversion bindings imported Trac[api] INFO: Synchronized '(default)' repository in 0.02 seconds Trac[register] WARNING: RegistrationModule is disabled because the password store does not support writing. Trac[chrome] DEBUG: Prepare chrome data for request Trac[api] DEBUG: action controllers for ticket workflow: ['ConfigurableTicketWorkflow'] Trac[chrome] WARNING: Error with navigation contributor AdminModule Trac[chrome] WARNING: Error with navigation contributor SearchModule Trac[chrome] WARNING: Error with navigation contributor QueryModule Trac[chrome] WARNING: Error with navigation contributor ReportModule Trac[chrome] WARNING: Error with navigation contributor RoadmapModule Trac[chrome] WARNING: Error with navigation contributor TicketModule Trac[chrome] WARNING: Error with navigation contributor TimelineModule Trac[chrome] WARNING: Error with navigation contributor BrowserModule Trac[chrome] WARNING: Error with navigation contributor WikiModule Trac[chrome] ERROR: Error during check of EMAIL_VIEW: TracError: Unable to open LDAP cnx: SERVER_DOWN: {'desc': "Can't contact LDAP server"} Trac[main] WARNING: [140.109.98.38] HTTPInternalError: 500 Trac Error (Unable to open LDAP cnx: SERVER_DOWN: {'desc': "Can't contact LDAP server"}) Trac[chrome] ERROR: Error during check of EMAIL_VIEW: TracError: Unable to open LDAP cnx: SERVER_DOWN: {'desc': "Can't contact LDAP server"} Trac[chrome] ERROR: Error during check of EMAIL_VIEW: TracError: Unable to open LDAP cnx: SERVER_DOWN: {'desc': "Can't contact LDAP server"}

RjOllos

unread,
Aug 11, 2016, 3:53:43 PM8/11/16
to Trac Users
Most likely you have the wrong credentials for your LDAP server. What steps have you take to confirm they are correct and that it's reachable from your server?

If you do confirm the LDAP server is reachable and the credentials are correct, you'll need to post more information for anyone to be able to help you. As a start, including the relevant configuration sections from trac.ini and a list of the plugins that you've installed. If you are authenticating with LDAP through Apache, we'll need to see your Apache configuration.

- Ryan
 

Dennis Liou

unread,
Aug 11, 2016, 10:16:24 PM8/11/16
to Trac Users

Hi, I can connect by python-ldap and openldap, but cannot connect by trac.

Dennis Liou

unread,
Aug 11, 2016, 10:29:17 PM8/11/16
to Trac Users
Or how can I test ldap connection by trac-admin?

Jun Omae

unread,
Aug 11, 2016, 10:57:05 PM8/11/16
to trac-...@googlegroups.com
I guess your configurations lead the error.
Please post trac.ini and trac.log after applying the following patch and enabling TracLogging with DEBUG level:

diff --git a/ldapplugin/0.12/ldapplugin/api.py b/ldapplugin/0.12/ldapplugin/api.py
index 46359be..7be1f40 100644
--- a/ldapplugin/0.12/ldapplugin/api.py
+++ b/ldapplugin/0.12/ldapplugin/api.py
@@ -651,9 +651,12 @@ class LdapConnection(object):
self._ds.simple_bind_s()
except ldap.LDAPError, e:
self._ds = None
+ traceback = exception_to_unicode(e, traceback=True)
if self.bind_user:
- self.log.warn("Unable to open LDAP with user %s",
- self.bind_user)
+ self.log.warning("Unable to open LDAP with user %s%s",
+ self.bind_user, traceback)
+ else:
+ self.log.warning("Unable to open LDAP%s", traceback)
raise TracError("Unable to open LDAP cnx: %s"
% exception_to_unicode(e))




--
Jun Omae <jun...@gmail.com> (大前 潤)

Dennis Liou

unread,
Aug 12, 2016, 12:05:05 AM8/12/16
to Trac Users
Thanks,
I found that I have wrong bind_user to open LDAP.
But, how can I found the user name?

Dennis Liou

unread,
Aug 12, 2016, 12:07:46 AM8/12/16
to Trac Users
The ldap server use uid itself to login.
But I tried "bind_user = %s" or " bind_user=%uid" would not open ldap , either.

Jun Omae

unread,
Aug 12, 2016, 12:17:23 AM8/12/16
to trac-...@googlegroups.com
Please provide trac.ini and trac.log to investigate it.

Dennis Liou

unread,
Aug 15, 2016, 11:31:55 PM8/15/16
to Trac Users
I found the error place:
TracAccountManager/acct_mgr/web_ui.py:130

def _write_check(self, log=False):
        writable = AccountManager(self.env).get_all_supporting_stores('set_password')
        if not writable and log:
            self.log.warn('AccountModule is disabled because the password '
                          'store does not support writing.')
        return writable

How can I enable it?

Dennis Liou

unread,
Aug 16, 2016, 12:41:05 AM8/16/16
to Trac Users
I test in python shell:

>>> from trac.core import ComponentManager
>>> comp_mgr = ComponentManager()
>>> AccountModule(comp_mgr)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "build/bdist.linux-x86_64/egg/trac/core.py", line 140, in __call__
  File "build/bdist.linux-x86_64/egg/acct_mgr/web_ui.py", line 71, in __init__
AttributeError: 'AccountModule' object has no attribute 'env'
>>>

So, the AccountModule isn't initial well.
Why 'AccountModule' object has no attribute 'env' ?

RjOllos

unread,
Aug 16, 2016, 2:18:45 PM8/16/16
to Trac Users
Providing an explanation for that wouldn't get us anywhere because you are off on a tangent. Twice you been asked to provide configuration information. To quote the most recent request "Please provide trac.ini and trac.log to investigate it."  If you'd like help, please respond to the requests for information that allow us to help you.

- Ryan

 

Dennis Liou

unread,
Aug 16, 2016, 10:53:00 PM8/16/16
to Trac Users
[ldap]
 host_url = ldap://ldapserver
 host = ldap://ldapserver
 basedn = dc=domain
 bind_dn = cn=dn_user,ou=XX,dc=domain
 bind_password = secret
 cache_size = 100
 cache_ttl = 900
 enable = true
 port = 389
 permattr = tracperm
 permfilter = objectclass=*
 search_filter = (&(objectClass=user)(sAMAccountName=%s)
 store_bind = true
 search_scope = subtree
 uidattr = uid
 user_class = posixAccount
 user_name_attr = uid
 user_rdn = ou=TAIWAN
 anonymous_bind = true
 groupmemberisdn = true


 [trac]
 auth_cookie_lifetime = 0
 auth_cookie_path =
 authz_file =
 authz_module_name =
 auto_preview_timeout = 2.0
 auto_reload = disabled
 backup_dir = db
 base_url = IP/trac/klik3
 check_auth_ip = false
 database = sqlite:db/trac.db
 debug_sql = disabled
 default_charset = utf-8
 default_date_format =
 default_dateinfo_format = relative
 default_handler = WikiModule
 default_language =
 default_timezone =
 genshi_cache_size = 128
 htdocs_location =
 ignore_auth_case = false
 jquery_location =
 jquery_ui_location =
 jquery_ui_theme_location =
 mainnav = wiki, timeline, roadmap, browser, tickets, newticket, search
 metanav = login, logout, prefs, help, about
 mysqldump_path = mysqldump
 never_obfuscate_mailto = false
 permission_policies = DefaultPermissionPolicy, LegacyAttachmentPolicy
 permission_store = LdapPermissionStore
 pg_dump_path = pg_dump
 repository_dir = /var/svn/
 repository_sync_per_request = (default)
 repository_type = svn
 resizable_textareas = true
 secure_cookies = disabled
 show_email_addresses = false
 show_ip_addresses = false
 timeout = 20
 use_base_url_for_redirect = disabled
 use_xsendfile = false
 wiki_toolbars = true


trac.log:

 -------------------------------- environment startup [Trac 1.0.2] --------------------------------
Trac[loader] DEBUG: Loading acct_mgr.admin from /usr/local/lib/python2.7/dist-packages/TracAccountManager-0.4.4-py2.7.egg
Trac[loader] DEBUG: Loading acct_mgr.api from /usr/local/lib/python2.7/dist-packages/TracAccountManager-0.4.4-py2.7.egg
Trac[loader] DEBUG: Loading acct_mgr.db from /usr/local/lib/python2.7/dist-packages/TracAccountManager-0.4.4-py2.7.egg
Trac[loader] DEBUG: Loading acct_mgr.htfile from /usr/local/lib/python2.7/dist-packages/TracAccountManager-0.4.4-py2.7.egg
Trac[loader] DEBUG: Loading acct_mgr.http from /usr/local/lib/python2.7/dist-packages/TracAccountManager-0.4.4-py2.7.egg
Trac[loader] DEBUG: Loading acct_mgr.macros from /usr/local/lib/python2.7/dist-packages/TracAccountManager-0.4.4-py2.7.egg
Trac[loader] DEBUG: Loading acct_mgr.notification from /usr/local/lib/python2.7/dist-packages/TracAccountManager-0.4.4-py2.7.egg
Trac[loader] DEBUG: Loading acct_mgr.pwhash from /usr/local/lib/python2.7/dist-packages/TracAccountManager-0.4.4-py2.7.egg
Trac[loader] DEBUG: Loading acct_mgr.svnserve from /usr/local/lib/python2.7/dist-packages/TracAccountManager-0.4.4-py2.7.egg
Trac[loader] DEBUG: Loading acct_mgr.web_ui from /usr/local/lib/python2.7/dist-packages/TracAccountManager-0.4.4-py2.7.egg
Trac[loader] DEBUG: Loading ldapauth.store from /usr/local/lib/python2.7/dist-packages/TracLDAPAuth-1.0-py2.7.egg
Trac[loader] DEBUG: Loading ldapplugin.api from /usr/local/lib/python2.7/dist-packages/LdapPlugin-0.7.0.dev0-py2.7.egg
Trac[loader] DEBUG: Loading trac.about from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading trac.admin.console from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading trac.admin.web_ui from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading trac.attachment from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading trac.db.mysql from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading trac.db.postgres from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading trac.db.sqlite from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading trac.mimeview.patch from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading trac.mimeview.pygments from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading trac.mimeview.rst from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading trac.mimeview.txtl from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Skipping "trac.mimeview.txtl = trac.mimeview.txtl [textile]": ("DistributionNotFound: The 'textile>=2.0' distribution was not found and is required by the application" not found)
Trac[loader] DEBUG: Loading trac.prefs from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading trac.search from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading trac.ticket.admin from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading trac.ticket.batch from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading trac.ticket.query from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading trac.ticket.report from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading trac.ticket.roadmap from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading trac.ticket.web_ui from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading trac.timeline from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading trac.versioncontrol.admin from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading trac.versioncontrol.svn_authz from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading trac.versioncontrol.web_ui from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading trac.web.auth from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading trac.web.main from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading trac.web.session from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading trac.wiki.admin from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading trac.wiki.interwiki from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading trac.wiki.macros from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading trac.wiki.web_api from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading trac.wiki.web_ui from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading tracopt.mimeview.enscript from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading tracopt.mimeview.php from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading tracopt.mimeview.silvercity from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Skipping "tracopt.mimeview.silvercity = tracopt.mimeview.silvercity [silvercity]": ("DistributionNotFound: The 'SilverCity>=0.9.4' distribution was not found and is required by the application" not found)
Trac[loader] DEBUG: Loading tracopt.perm.authz_policy from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading tracopt.perm.config_perm_provider from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading tracopt.ticket.clone from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading tracopt.ticket.commit_updater from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading tracopt.ticket.deleter from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading tracopt.versioncontrol.git.git_fs from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading tracopt.versioncontrol.svn.svn_fs from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[loader] DEBUG: Loading tracopt.versioncontrol.svn.svn_prop from /usr/local/lib/python2.7/dist-packages/Trac-1.0.2-py2.7.egg
Trac[default_workflow] DEBUG: Workflow actions at initialization: {u'resolve': {u'operations': [u'set_resolution'], 'name': u'resolve', 'default': 0, 'newstate': u'closed', 'oldstates': [u'new', u'assigned', u'accepted', u'reopened'], u'permissions': [u'TICKET_MODIFY']}, u'accept': {u'operations': [u'set_owner_to_self'], 'name': u'accept', 'default': 0, 'newstate': u'accepted', 'oldstates': [u'new', u'assigned', u'accepted', u'reopened'], u'permissions': [u'TICKET_MODIFY']}, u'leave': {u'operations': [u'leave_status'], 'name': u'leave', u'default': 1, 'newstate': u'*', 'oldstates': [u'*'], 'permissions': []}, u'reopen': {u'operations': [u'del_resolution'], 'name': u'reopen', 'default': 0, 'newstate': u'reopened', 'oldstates': [u'closed'], u'permissions': [u'TICKET_CREATE']}, u'reassign': {u'operations': [u'set_owner'], 'name': u'reassign', 'default': 0, 'newstate': u'assigned', 'oldstates': [u'new', u'assigned', u'accepted', u'reopened'], u'permissions': [u'TICKET_MODIFY']}, '_reset': {'operations': ['reset_workflow'], 'name': 'reset', 'default': 0, 'newstate': 'new', 'oldstates': [], 'permissions': []}}


Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/login'">
Trac[web_ui] WARNING: AccountModule is disabled because the password store does not support writing.
Trac[session] DEBUG: Retrieving session for ID '309060305318df5be905d3ed'
Trac[main] DEBUG: Negotiated locale: None -> en_US
Trac[svn_fs] DEBUG: Subversion bindings imported
Trac[api] INFO: Synchronized '(default)' repository in 0.01 seconds

Trac[register] WARNING: RegistrationModule is disabled because the password store does not support writing.
Trac[chrome] DEBUG: Prepare chrome data for request
Trac[api] DEBUG: action controllers for ticket workflow: ['ConfigurableTicketWorkflow']
Trac[chrome] WARNING: Error with navigation contributor AdminModule
Trac[chrome] WARNING: Error with navigation contributor SearchModule
Trac[chrome] WARNING: Error with navigation contributor QueryModule
Trac[chrome] WARNING: Error with navigation contributor ReportModule
Trac[chrome] WARNING: Error with navigation contributor RoadmapModule
Trac[chrome] WARNING: Error with navigation contributor TicketModule
Trac[chrome] WARNING: Error with navigation contributor TimelineModule
Trac[chrome] WARNING: Error with navigation contributor BrowserModule
Trac[chrome] WARNING: Error with navigation contributor WikiModule
Trac[chrome] ERROR: Error during check of EMAIL_VIEW: TracError: Unable to open LDAP cnx: LDAPError: (0, 'Error')
Trac[main] WARNING: [clinet_ip] HTTPInternalError: 500 Trac Error (Unable to open LDAP cnx: LDAPError: (0, 'Error'))
Trac[chrome] ERROR: Error during check of EMAIL_VIEW: TracError: Unable to open LDAP cnx: LDAPError: (0, 'Error')
Trac[chrome] ERROR: Error during check of EMAIL_VIEW: TracError: Unable to open LDAP cnx: LDAPError: (0, 'Error')


Should I need "bind_user"?
And how can I let password store become writing.

Jun Omae

unread,
Aug 16, 2016, 11:44:54 PM8/16/16
to trac-...@googlegroups.com
On Wed, Aug 17, 2016 at 11:52 AM, Dennis Liou <elect...@gmail.com> wrote:
> [ldap]
> host_url = ldap://ldapserver
> host = ldap://ldapserver
> basedn = dc=domain
> bind_dn = cn=dn_user,ou=XX,dc=domain
> bind_password = secret
> cache_size = 100
> cache_ttl = 900
> enable = true
> port = 389
> permattr = tracperm
> permfilter = objectclass=*
> search_filter = (&(objectClass=user)(sAMAccountName=%s)
> store_bind = true
> search_scope = subtree
> uidattr = uid
> user_class = posixAccount
> user_name_attr = uid
> user_rdn = ou=TAIWAN
> anonymous_bind = true
> groupmemberisdn = true
>
> ...
> Should I need "bind_user"?

Thanks.

According to https://trac-hacks.org/wiki/TracLdapAuthPlugin#Example:

* "basedn" or "bind_dn" should be "base_dn"
* "bind_user" should be added

Also, make sure that your trac.ini has the following:

[account-manager]
password_store = LDAPStore

> And how can I let password store become writing.

Description of the plugin page says:

It does not support listing users, changing passwords,
or anything other than authenticating.

The LDAPStore doesn't support `set_password` method to change
passwords, but you can ignore the following log. The AccountManager
component is actually not disabled.

> Trac[web_ui] WARNING: AccountModule is disabled because the password store does not support writing.


Dennis Liou

unread,
Aug 16, 2016, 11:51:47 PM8/16/16
to Trac Users
> * "basedn" or "bind_dn" should be "base_dn"
> * "bind_user" should be added

 I have this error:


Auto Generated Inline Image 1

Jun Omae

unread,
Aug 16, 2016, 11:53:50 PM8/16/16
to trac-...@googlegroups.com
Could you please post trac.log if you encounter an error?

Dennis Liou

unread,
Aug 16, 2016, 11:59:12 PM8/16/16
to Trac Users
Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/chrome/common/trac.ico'">

Trac[web_ui] WARNING: AccountModule is disabled because the password store does not support writing.

Jun Omae

unread,
Aug 17, 2016, 12:01:09 AM8/17/16
to trac-...@googlegroups.com
On Wed, Aug 17, 2016 at 12:53 PM, Jun Omae <jun...@gmail.com> wrote:
> On Wed, Aug 17, 2016 at 12:51 PM, Dennis Liou <elect...@gmail.com> wrote:
>>>
>>> > * "basedn" or "bind_dn" should be "base_dn"
>>> > * "bind_user" should be added
>>
>> I have this error:
>
> Could you please post trac.log if you encounter an error?

I guess installed LdapPlugin leads that error. Please try to uninstall
LdapPlugin.
The plugin is installed to
/usr/local/lib/python2.7/dist-packages/LdapPlugin-0.7.0.dev0-py2.7.egg.

Jun Omae

unread,
Aug 17, 2016, 12:06:52 AM8/17/16
to trac-...@googlegroups.com
No, no, no. Could you please post log messages with stacktrace
included the "No basedn is defined"?
Message has been deleted

Dennis Liou

unread,
Aug 17, 2016, 12:51:06 AM8/17/16
to Trac Users
# pip list
apt-xapian-index (0.45)
Babel (1.3)
chardet (2.0.1)
Cheetah (2.4.4)
cloud-init (0.7.5)
colorama (0.2.5)
configobj (4.7.2)
docutils (0.11)
Genshi (0.7)
html5lib (0.999)
jsonpatch (1.3)
jsonpointer (1.0)
Landscape-Client (14.12)
LdapPlugin (0.7.0.dev0)
mod-python (3.3.1)
MySQL-python (1.2.3)
oauth (1.0.1)
PAM (0.4.2)
Pillow (2.3.0)
pip (8.1.2)
prettytable (0.7.2)
psycopg2 (2.4.5)
pycurl (7.19.3)
Pygments (1.6)
pyOpenSSL (0.13)
pyserial (2.6)
python-apt (0.9.3.5ubuntu1)
python-debian (0.1.21-nmu2ubuntu2)
python-ldap (2.4.27)
pytz (2012rc0)
PyYAML (3.10)
requests (2.2.1)
roman (2.0.0)
setuptools (25.1.4)
six (1.5.2)
ssh-import-id (3.21)
Trac (1.0.2)
TracAccountManager (0.4.4)
TracLDAPAuth (1.0)
Twisted-Core (13.2.0)
Twisted-Names (13.2.0)
Twisted-Web (13.2.0)
urllib3 (1.7.1)
wheel (0.24.0)
zope.interface (4.0.5)
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.
  SNIMissingWarning
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning

Dennis Liou

unread,
Aug 17, 2016, 5:51:25 AM8/17/16
to Trac Users
Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/'">
Trac[session] DEBUG: Retrieving session for ID 'b8926772373d2677a97dc808'
Trac[main] DEBUG: Negotiated locale: None -> en_US
Trac[api] INFO: Synchronized '(default)' repository in 0.00 seconds
Trac[main] WARNING: [client_ip] HTTPInternalError: 500 Trac Error (No basedn is defined)
Trac[chrome] DEBUG: Prepare chrome data for request
Trac[chrome] WARNING: Error with navigation contributor AdminModule
Trac[chrome] WARNING: Error with navigation contributor SearchModule
Trac[chrome] WARNING: Error with navigation contributor QueryModule
Trac[chrome] WARNING: Error with navigation contributor ReportModule
Trac[chrome] WARNING: Error with navigation contributor RoadmapModule
Trac[chrome] WARNING: Error with navigation contributor TicketModule
Trac[chrome] WARNING: Error with navigation contributor TimelineModule
Trac[chrome] WARNING: Error with navigation contributor BrowserModule
Trac[chrome] WARNING: Error with navigation contributor WikiModule
Trac[chrome] ERROR: Error during check of EMAIL_VIEW: TracError: No basedn is defined
Trac[chrome] ERROR: Error during check of EMAIL_VIEW: TracError: No basedn is defined
Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/chrome/common/css/trac.css'">
Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/chrome/common/js/jquery.js'">
Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/chrome/common/js/trac.js'">
Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/chrome/common/js/babel.js'">
Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/chrome/common/js/search.js'">
Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/chrome/common/css/code.css'">
Trac[session] DEBUG: Retrieving session for ID 'b8926772373d2677a97dc808'
Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/chrome/site/trac_logo.png'">
Trac[session] DEBUG: Retrieving session for ID 'b8926772373d2677a97dc808'
Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/chrome/common/trac_logo_mini.png'">
Trac[session] DEBUG: Retrieving session for ID 'b8926772373d2677a97dc808'
Trac[session] DEBUG: Retrieving session for ID 'b8926772373d2677a97dc808'
Trac[session] DEBUG: Retrieving session for ID 'b8926772373d2677a97dc808'
Trac[session] DEBUG: Retrieving session for ID 'b8926772373d2677a97dc808'
Trac[session] DEBUG: Retrieving session for ID 'b8926772373d2677a97dc808'
Trac[session] DEBUG: Retrieving session for ID 'b8926772373d2677a97dc808'
Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/chrome/common/trac.ico'">
Trac[session] DEBUG: Retrieving session for ID 'b8926772373d2677a97dc808'

I have not uninstall LdapPlugin.

Dennis Liou

unread,
Aug 17, 2016, 10:02:37 PM8/17/16
to Trac Users
It no use after I uninstall LdapPlugin.


Reply all
Reply to author
Forward
0 new messages