Univention Bugzilla – Bug 28348
ucs-test 50samba/35smbclient_auth an samba4 anpassen
Last modified: 2023-03-25 06:48:06 CET
Es soll eine an samba4 angepasste Version des samba3-Tests 35smbclient_auth erstellt werden.
Es wurde eine an Samba4 angepasste Version erstellt und dem Paket ucs-test-samba4 hinzugefügt.
Der Test weist starke Schwankungen je nach Systemleistung bzw -auslastung auf und wird deshalb überarbeitet.
*** Bug 29452 has been marked as a duplicate of this bug. ***
Kein Blocker für UCS 3.1-1.
Der Test schlägt im Jenkins jede Nach fehl: Fehlermeldung Test failed Standard Ausgabe (STDOUT) Object created: uid=T5870a8484ba,cn=users,dc=eu-west-1,dc=compute,dc=amazonaws,dc=com Connection to \\ip36e4617a.eu-west-1.compute.amazonaws.com\sysvol failed - NT_STATUS_BAD_NETWORK_NAME Connection to \\ip36e4617a.eu-west-1.compute.amazonaws.com\sysvol failed - NT_STATUS_BAD_NETWORK_NAME Connection to \\ip36e4617a.eu-west-1.compute.amazonaws.com\sysvol failed - NT_STATUS_BAD_NETWORK_NAME Connection to \\ip36e4617a.eu-west-1.compute.amazonaws.com\sysvol failed - NT_STATUS_BAD_NETWORK_NAME Connection to \\ip36e4617a.eu-west-1.compute.amazonaws.com\sysvol failed - NT_STATUS_BAD_NETWORK_NAME Connection to \\ip36e4617a.eu-west-1.compute.amazonaws.com\sysvol failed - NT_STATUS_BAD_NETWORK_NAME Connection to \\ip36e4617a.eu-west-1.compute.amazonaws.com\sysvol failed - NT_STATUS_BAD_NETWORK_NAME Connection to \\ip36e4617a.eu-west-1.compute.amazonaws.com\sysvol failed - NT_STATUS_BAD_NETWORK_NAME Connection to \\ip36e4617a.eu-west-1.compute.amazonaws.com\sysvol failed - NT_STATUS_BAD_NETWORK_NAME Connection to \\ip36e4617a.eu-west-1.compute.amazonaws.com\sysvol failed - NT_STATUS_BAD_NETWORK_NAME Connection to \\ip36e4617a.eu-west-1.compute.amazonaws.com\sysvol failed - NT_STATUS_BAD_NETWORK_NAME Connection to \\ip36e4617a.eu-west-1.compute.amazonaws.com\sysvol failed - NT_STATUS_BAD_NETWORK_NAME Using username "T5870a8484ba" � Sharename Type Comment� --------- ---- -------� netlogon Disk Domain logon service� sysvol Disk � IPC$ IPC IPC Service (Univention Corporate Server)� print$ Disk Printer Drivers� REWRITE: list servers not implemented� /usr/bin/smbclient4 -UT5870a8484ba%univention //ip36e4617a.eu-west-1.compute.amazonaws.com/sysvol /usr/bin/smbclient4 -UT5870a8484ba%univention //ip36e4617a.eu-west-1.compute.amazonaws.com/sysvol /usr/bin/smbclient4 -UT5870a8484ba%univention //ip36e4617a.eu-west-1.compute.amazonaws.com/sysvol /usr/bin/smbclient4 -UT5870a8484ba%univention //ip36e4617a.eu-west-1.compute.amazonaws.com/sysvol /usr/bin/smbclient4 -UT5870a8484ba%univention //ip36e4617a.eu-west-1.compute.amazonaws.com/sysvol /usr/bin/smbclient4 -UT5870a8484ba%univention //ip36e4617a.eu-west-1.compute.amazonaws.com/sysvol /usr/bin/smbclient4 -UT5870a8484ba%univention //ip36e4617a.eu-west-1.compute.amazonaws.com/sysvol /usr/bin/smbclient4 -UT5870a8484ba%univention //ip36e4617a.eu-west-1.compute.amazonaws.com/sysvol /usr/bin/smbclient4 -UT5870a8484ba%univention //ip36e4617a.eu-west-1.compute.amazonaws.com/sysvol /usr/bin/smbclient4 -UT5870a8484ba%univention //ip36e4617a.eu-west-1.compute.amazonaws.com/sysvol /usr/bin/smbclient4 -UT5870a8484ba%univention //ip36e4617a.eu-west-1.compute.amazonaws.com/sysvol /usr/bin/smbclient4 -UT5870a8484ba%univention //ip36e4617a.eu-west-1.compute.amazonaws.com/sysvol /usr/bin/smbclient4 -UT5870a8484ba%univention //ip36e4617a.eu-west-1.compute.amazonaws.com/sysvol /usr/bin/smbclient4 -UT5870a8484ba%univention //ip36e4617a.eu-west-1.compute.amazonaws.com/sysvol /usr/bin/smbclient4 -UT5870a8484ba%univention //ip36e4617a.eu-west-1.compute.amazonaws.com/sysvol /usr/bin/smbclient4 -UT5870a8484ba%univention //ip36e4617a.eu-west-1.compute.amazonaws.com/sysvol /usr/bin/smbclient4 -UT5870a8484ba%univention //ip36e4617a.eu-west-1.compute.amazonaws.com/sysvol /usr/bin/smbclient4 -UT5870a8484ba%univention //ip36e4617a.eu-west-1.compute.amazonaws.com/sysvol /usr/bin/smbclient4 -UT5870a8484ba%univention //ip36e4617a.eu-west-1.compute.amazonaws.com/sysvol /usr/bin/smbclient4 -UT5870a8484ba%univention //ip36e4617a.eu-west-1.compute.amazonaws.com/sysvol /usr/bin/smbclient4 -UT5870a8484ba%univention //ip36e4617a.eu-west-1.compute.amazonaws.com/sysvol /usr/bin/smbclient4 -UT5870a8484ba%univention //ip36e4617a.eu-west-1.compute.amazonaws.com/sysvol /usr/bin/smbclient4 -UT5870a8484ba%univention //ip36e4617a.eu-west-1.compute.amazonaws.com/sysvol /usr/bin/smbclient4 -UT5870a8484ba%univention //ip36e4617a.eu-west-1.compute.amazonaws.com/sysvol 12� 12 of 24 have been successfull. Object removed: uid=T5870a8484ba,cn=users,dc=eu-west-1,dc=compute,dc=amazonaws,dc=com Auf meinem Testsystem schlägt der Test auch fehl, wenn ich den Timeout von 20 auf 90 erhöhe, dann ist der Test auf meinem Testsystem erfolgreich.
* Der Test sollte erstmal nur die Authentifikation gegen das lokale System testen, aktuell wird immer gegen ldap/master getestet. Dadurch sollte dann auch univention-ssh entfallen, da der Erfolgstest über das lokale Dateisystem erfolgen kann. * Lieber smbclient statt smbclient4
Es wird nun die Authentifikation gegen das lokale System anstatt gegen ldap/master getestet. Zudem wurde smbclient4 durch smbclient ersetzt.
The test was still flaky on Samba4 DC Slaves as DRS replication can take a long time (~300 seconds). The waiting code is now improved to actually wait for the account to appear in the local sam.ldb. changelog-3.2-0 is updated.
For this bug is no separate QA needed.