Changes between Initial Version and Version 1 of Ticket #13487


Ignore:
Timestamp:
Sep 27, 2018, 7:58:04 PM (6 years ago)
Author:
Ryan J Ollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13487 – Description

    initial v1  
    11When browsing to the users section in account manager i see this error:
    22
     3{{{
    34Trac detected an internal error:
    45KeyError: 'uid'
     
    89File "build/bdist.linux-x86_64/egg/security/ldapstore.py", line 59, in get_users
    910Code fragment:
    10 {{{
    1111       
    1212        try:
     
    212159                  if entry[1]['uid'][0]:
    222260                      yield entry[1]['uid'][0]
    23 
    2423}}}
    2524
    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)**
     25The issue is that the `user_matchfilter = sAMAccountName=%s` not the default `uid` which i believe is hard referenced in your code **(line 52)**
    2726
    2827Is there a way to make this more generic?