Bug 41916 - Annoying traceback caused by ucsschool-user-logonscripts in listener.log
Annoying traceback caused by ucsschool-user-logonscripts in listener.log
Status: CLOSED DUPLICATE of bug 42457
Product: UCS@school
Classification: Unclassified
Component: Netlogon scripts
UCS@school 4.1 R2
Other Linux
: P5 minor (vote)
: UCS@school 4.1 R2 vXXX
Assigned To: Sönke Schwardt-Krummrich
Florian Best
: interim-4
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-08-04 17:09 CEST by Sönke Schwardt-Krummrich
Modified: 2023-03-25 06:43 CET (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 1: Cosmetic issue or missing function but workaround exists
Who will be affected by this bug?: 5: Will affect all installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.057
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2016-08-04 17:09:42 CEST
In every OU other that e.g. "gsmitte" the listener module ucsschool-user-logonscripts emits error messages like this on every group change of the OU specific groups like  "Domain Users $OU", because some containers are unreadable for the listener module.

31.07.16 22:02:09.596  LISTENER    ( ERROR   ) : ucsschool-user-logonscripts: error=NO_SUCH_OBJECT({'matched': 'cn=lehrer,cn=users,ou=gsmitte,dc=example,dc=com', 'desc': 'No such object'},)
31.07.16 22:02:09.596  LISTENER    ( ERROR   ) : Traceback (most recent call last):
  File "/usr/lib/univention-directory-listener/system/ucs-school-user-logonscript.py", line 484, in userchange
    res = lo.search(base=dn, scope="base", filter='objectClass=*')
  File "/usr/lib/pymodules/python2.7/univention/uldap.py", line 284, in search
    res = self.lo.search_ext_s(base, ldap_scope, filter, attr, serverctrls=serverctrls, clientctrls=None, timeout=timeout, sizelimit=sizelimit)
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 918, in search_ext_s
    return self._apply_method_s(SimpleLDAPObject.search_ext_s,*args,**kwargs)
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 860, in _apply_method_s
    return func(self,*args,**kwargs)
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 553, in search_ext_s
    return self.result(msgid,all=1,timeout=timeout)[1]
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 465, in result
    resp_type, resp_data, resp_msgid = self.result2(msgid,all,timeout)
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 469, in result2
    resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all,timeout)
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 476, in result3
    resp_ctrl_classes=resp_ctrl_classes
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 483, in result4
    ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop)
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 106, in _ldap_call
    result = func(*args,**kwargs)
NO_SUCH_OBJECT: {'matched': 'cn=lehrer,cn=users,ou=789,dc=example,dc=com', 'desc': 'No such object'}
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2016-09-28 11:10:06 CEST
Duplicate → new bug has more detail and higher prio

*** This bug has been marked as a duplicate of bug 42457 ***
Comment 2 Florian Best univentionstaff 2016-09-28 12:12:40 CEST
Yes, duplicate.