Bug 35879 - UCS-3.2 & UCS-4.0: 00_base/21ssh_motd 'sambaSID' traceback
UCS-3.2 & UCS-4.0: 00_base/21ssh_motd 'sambaSID' traceback
Status: NEW
Product: UCS Test
Classification: Unclassified
Component: General
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-11 08:56 CEST by Philipp Hahn
Modified: 2018-04-14 13:47 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2014-09-11 08:56:57 CEST
The test succeeds, but always contains a traceback - even with UCS-3.2-3: <http://jenkins.knut.univention.de:8080/view/Autotest/job/UCS-3.2/job/UCS-3.2-3/job/Autotest%20MultiEnv/lastCompletedBuild/SambaVersion=s4,Systemrolle=master/testReport/00_base/21ssh_motd/test/>

*** 00_base/21ssh_motd *** Checking SSH message of the day for Debian remains ***
info 2014-09-10 15:42:41         create user 231bqr9p
Traceback (most recent call last):
  File "/usr/share/univention-directory-manager-tools/univention-cli-server", line 222, in doit
    output = univention.admincli.admin.doit(arglist)
  File "/usr/lib/pymodules/python2.7/univention/admincli/admin.py", line 393, in doit
    out=_doit(arglist)
  File "/usr/lib/pymodules/python2.7/univention/admincli/admin.py", line 804, in _doit
    dn=object.create()
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 352, in create
    return self._create()
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 787, in _create
    self.remove()
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 528, in remove
    return self._remove(remove_childs)
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 1000, in _remove
    self._ldap_pre_remove()
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/users/user.py", line 2441, in _ldap_pre_remove
    self.sid=self.oldattr['sambaSID'][0]
KeyError: 'sambaSID'
dn: uid=231bqr9p,cn=users,dc=autotest090,dc=local
The authenticity of host 'localhost (::1)' can't be established.^M
RSA key fingerprint is cc:07:8b:5c:47:9b:59:6b:69:62:cb:9c:cb:ad:47:6b.^M
Are you sure you want to continue connecting (yes/no)? yes
yes^M
Warning: Permanently added 'localhost' (RSA) to the list of known hosts.^M^M
Password: univention
exit
^M
exitPermission denied (publickey,gssapi-keyex,gssapi-with-mic,keyboard-interactive).^M^M
^M
MotD is clean
info 2014-09-10 15:42:43         remove user 231bqr9p
Object removed: uid=231bqr9p,cn=users,dc=autotest090,dc=local
debug 2014-09-10 15:42:43        user 231bqr9p removed
info 2014-09-10 15:42:43         checking whether the user 231bqr9p is really removed
debug 2014-09-10 15:42:43        user 231bqr9p does not exist
*** END *** 0 ***
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2014-09-15 12:27:58 CEST
Have a look at bug 20044. The KeyError is not the real problem!