Changes between Initial Version and Version 1 of Ticket #13487
- Timestamp:
- Sep 27, 2018, 7:58:04 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13487 – Description
initial v1 1 1 When browsing to the users section in account manager i see this error: 2 2 3 {{{ 3 4 Trac detected an internal error: 4 5 KeyError: 'uid' … … 8 9 File "build/bdist.linux-x86_64/egg/security/ldapstore.py", line 59, in get_users 9 10 Code fragment: 10 {{{11 11 12 12 try: … … 21 21 59 if entry[1]['uid'][0]: 22 22 60 yield entry[1]['uid'][0] 23 24 23 }}} 25 24 26 The issue is that the user_matchfilter = sAMAccountName=%s not the default 'uid'which i believe is hard referenced in your code **(line 52)**25 The issue is that the `user_matchfilter = sAMAccountName=%s` not the default `uid` which i believe is hard referenced in your code **(line 52)** 27 26 28 27 Is there a way to make this more generic?