Hello,

yesterday I tried to add account amanegr section from other (running) trac 
system

==>
[components]
acct_mgr.admin.* = enabled
acct_mgr.admin.accountmanageradminpage = enabled
acct_mgr.api.* = enabled
acct_mgr.api.accountmanager = enabled
acct_mgr.db.* = enabled
acct_mgr.db.sessionstore = disabled
acct_mgr.htfile.* = enabled
acct_mgr.http.* = enabled
acct_mgr.http.httpauthstore = enabled
acct_mgr.notification.* = enabled
acct_mgr.notification.accountchangelistener = enabled
acct_mgr.notification.accountchangenotificationadminpanel = enabled
acct_mgr.pwhash.* = enabled
acct_mgr.pwhash.htdigesthashmethod = enabled
acct_mgr.pwhash.htpasswdhashmethod = enabled
acct_mgr.svnserve.* = enabled
acct_mgr.svnserve.svnservepasswordstore = enabled
acct_mgr.web_ui.* = enabled
acct_mgr.web_ui.accountmodule = disabled
acct_mgr.web_ui.emailverificationmodule = disabled
acct_mgr.web_ui.loginmodule = enabled
acct_mgr.web_ui.registrationmodule = disabled
<==

to trac.ini - maybe this caused the misbehaviour. Arter realising that had 
no benefits, I took back the modification. Actually there's no [components] 
section within trac.ini ..

Am Mittwoch, 17. April 2019 08:48:18 UTC+2 schrieb Jun Omae:
>
> On Wed, Apr 17, 2019 at 3:27 PM <[email protected] <javascript:>> wrote: 
> > trac website says 
> > 
> > ==> 
> > 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 
> > 
> > basedn not defined! 
> > 
> > TracGuide — The Trac User and Administration Guide 
> > 
> > <== 
>
> Trac says "basedn not defined!". That means missing dir_basedn option 
> of [account-manager] section in your trac.ini. 
>
>
> > 2019-04-16 15:16:33,421 Trac[main] ERROR: Can't authenticate using 
> ConfigurationAdminPanel: 
> > Traceback (most recent call last): 
> >   File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 181, in 
> authenticate 
> >     authname = authenticator.authenticate(req) 
> >   File "build/bdist.linux-x86_64/egg/acct_mgr/admin.py", line 1536, in 
> authenticate 
> >     perms = self.perms.get_user_permissions('authenticated') 
> >   File "build/bdist.linux-x86_64/egg/trac/perm.py", line 435, in 
> get_user_permissions 
> >     for perm in self.store.get_user_permissions(username) or []: 
> >   File "build/bdist.linux-x86_64/egg/trac/perm.py", line 189, in 
> get_user_permissions 
> >     subjects.update(provider.get_permission_groups(username) or []) 
> >   File "build/bdist.linux-x86_64/egg/tracext/dirauth/auth.py", line 281, 
> in get_permission_groups 
> >     return self._expand_user_groups(username) 
> >   File "build/bdist.linux-x86_64/egg/tracext/dirauth/auth.py", line 367, 
> in _expand_user_groups 
> >     user_dn = self._get_user_dn(user) 
> >   File "build/bdist.linux-x86_64/egg/tracext/dirauth/auth.py", line 345, 
> in _get_user_dn 
> >     [self.user_attr], cache) 
> >   File "build/bdist.linux-x86_64/egg/tracext/dirauth/auth.py", line 593, 
> in _dir_search 
> >     raise TracError(_("basedn not defined!")) 
> > TracError: basedn not defined! 
>
> trac.log raises the same issue. 
>
> -- 
> Jun Omae <[email protected] <javascript:>> (大前 潤) 
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to