Bug 4871 - Backtrace in tl-ldap-certalias
Summary: Backtrace in tl-ldap-certalias
Status: CLOSED WONTFIX
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Misc (show other bugs)
Version: 4.1.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.15.0
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-24 15:14 CEST by Henrik Andersson
Modified: 2023-01-03 13:19 CET (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Henrik Andersson cendio 2013-10-24 15:14:18 CEST
When testing tl-ldap-certalias against Active directory at customers site I stumble upon this backtrace:

tl-ldap-certalias: DEBUG: Found user CN=XXX,OU=YYY,OU=ZZZ,OU=ÅÅÅ,OU=XXX,DC=YYY,DC=ZZZ,DC=se
tl-ldap-certalias: DEBUG: Found user None

Traceback (most recent call last):
  File "/opt/thinlinc/sbin/tl-ldap-certalias", line 1323, in <module>
    ret = main()
  File "/opt/thinlinc/sbin/tl-ldap-certalias", line 870, in main
    uid = int(attributes['uidNumber'][0])
TypeError: list indices must be integers, not str
Comment 1 Pierre Ossman cendio 2023-01-03 13:19:43 CET
Looks like something wonky with python-ldap on that system. But this bug is ancient, and we don't even know which system was used, so closing this.

Note You need to log in before you can comment on or make changes to this bug.