Univention Bugzilla – Full Text Bug Listing |
Summary: | Traceback when selecting UMC module Users or listing objects with udm users/user list | ||
---|---|---|---|
Product: | UCS | Reporter: | Roman Asendorf <asendorf> |
Component: | UMC - Users | Assignee: | Andreas Büsching <buesching> |
Status: | CLOSED DUPLICATE | QA Contact: | Florian Best <best> |
Severity: | normal | ||
Priority: | P5 | CC: | buesching, geerds, klaeser |
Version: | UCS 3.0 | Keywords: | interim-1 |
Target Milestone: | UCS 3.0-2 | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | --- | What type of bug is this?: | --- |
Who will be affected by this bug?: | --- | How will those affected feel about the bug?: | --- |
User Pain: | Enterprise Customer affected?: | ||
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | ||
Max CVSS v3 score: | |||
Bug Depends on: | |||
Bug Blocks: | 28223 |
Description
Roman Asendorf
2012-06-20 12:00:25 CEST
Wahrscheinlich liegt im (In reply to comment #0) > Following traceback appears in CLI calling udm users/user list: > > File '/usr/lib/pymodules/python2.6/notifier/threads.py', line 81, in _run > tmp = self._function() > File '/usr/lib/pymodules/python2.6/notifier/__init__.py', line 104, in > __call__ > return self._function( *tmp, **self._kwargs ) > File > '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/__init__.py', > line 424, in _thread > if module.module is None: > > AttributeError: 'NoneType' object has no attribute 'module' Der Traceback kommt aus dem UMC-Backendprozess. Hast du hier was verwechselt? :-) Der Traceback deutet darauf hin, dass es im LDAP ein Objekt gibt, dass der UDM nicht mehr identifizieren kann. Mit welcher Version ist das aufgetreten? 3.0-0 oder 3.0-1? univention-ldapsearch shows following (anonymized) infos for user accounts: # user1, users, domain.local dn: uid=user1,cn=users,dc=domain,dc=local uid: user1 krb5PrincipalName: user1@DOMAIN.LOCAL objectClass: top objectClass: person objectClass: univentionPWHistory objectClass: posixAccount objectClass: shadowAccount objectClass: univentionMail objectClass: sambaSamAccount objectClass: organizationalPerson objectClass: inetOrgPerson objectClass: krb5Principal objectClass: krb5KDCEntry objectClass: univentionObject pwhistory: XXXXXXXXX sambaAcctFlags: [U ] sambaPasswordHistory: XXXXXXXXXX krb5MaxLife: 86400 cn: Firstname Lastname userPassword:: XXXXXXXX krb5Key:: XXXXXXXX krb5Key:: XXXXXXXX krb5Key:: XXXXXXXX krb5Key:: XXXXXXXX krb5Key:: XXXXXXXX krb5Key:: XXXXXXXX krb5MaxRenew: 604800 uidNumber: 2099 sambaLMPassword: XXXXXXXX gecos: Firstname Lastname sambaLogonScript: login_service.cmd loginShell: /bin/bash univentionObjectType: users/user krb5KDCFlags: 126 gidNumber: 5014 sambaPwdLastSet: 1340185541 sambaNTPassword: XXXXXXXXXX displayName: Firstname Lastname sambaSID: S-1-5-21-2996864188-3427636799-1190481614-5220 krb5KeyVersionNumber: 1 sn: Lastname homeDirectory: /home/domain/user1 givenName: Firstname sambaPrimaryGroupSID: S-1-5-21-2996864188-3427636799-1190481614-513 # search result search: 3 result: 0 Success # numResponses: 2 # numEntries: 1 root@ucs-master:~# udm users/user list Traceback (most recent call last): File "/usr/share/univention-directory-manager-tools/univention-cli-server", line 233, in doit output = univention.admincli.admin.doit(arglist) File "/usr/lib/pymodules/python2.6/univention/admincli/admin.py", line 1078, in doit out.append( 'DN: %s' % _2utf8( univention.admin.objects.dn (object ) ) ) File "/usr/lib/pymodules/python2.6/univention/admincli/admin.py", line 243, in _2utf8 return text.decode( 'iso-8859-1' ) AttributeError: 'NoneType' object has no attribute 'decode' root@ucs-master:~# (In reply to comment #4) > return text.decode( 'iso-8859-1' ) > AttributeError: 'NoneType' object has no attribute 'decode' Das ist ein bekanntes Problem, das zu UCS 3.0-2 korrigiert wird *** This bug has been marked as a duplicate of bug 25360 *** (In reply to comment #5) > (In reply to comment #4) > > return text.decode( 'iso-8859-1' ) > > AttributeError: 'NoneType' object has no attribute 'decode' > > Das ist ein bekanntes Problem, das zu UCS 3.0-2 korrigiert wird > > *** This bug has been marked as a duplicate of bug 25360 *** Workaround at bug 25360 works. (In reply to comment #6) > (In reply to comment #5) > > (In reply to comment #4) > > > return text.decode( 'iso-8859-1' ) > > > AttributeError: 'NoneType' object has no attribute 'decode' > > > > Das ist ein bekanntes Problem, das zu UCS 3.0-2 korrigiert wird > > > > *** This bug has been marked as a duplicate of bug 25360 *** > > Workaround at bug 25360 works. Ok. root@master:~# udm users/user list --filter uid=user1ABC21324 | grep ABC uid=user1ABC21324 DN: uid=user1ABC21324,cn=users,dc=foo,dc=bar username: user1ABC21324 UCS 3.0-2 has been released: http://forum.univention.de/viewtopic.php?f=54&t=1905 If this error occurs again, please use "Clone This Bug". |