Bug 4871 - Backtrace in tl-ldap-certalias
Summary: Backtrace in tl-ldap-certalias
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Misc (show other bugs)
Version: 4.1.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Karl Mikaelsson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-24 15:14 CEST by Henrik Andersson
Modified: 2020-06-16 12:43 CEST (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

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