Univention Bugzilla – Bug 43913
Test case 53_samba-common/05domain-join-ntlm-auth fails in UCS 4.2
Last modified: 2017-04-04 18:29:33 CEST
In UCS 4.2, the test case 53_samba-common/05domain-join-ntlm-auth fails on a memberserver joined in S4: *** BEGIN *** ['/bin/bash', '05domain-join-ntlm-auth'] *** *** 53_samba-common/05domain-join-ntlm-auth *** Checking domain join and ntlm authentication *** *** START TIME: 2017-03-16 15:47:40 *** ----create user info 2017-03-16 15:47:41 create user njro9z1a Object created: uid=njro9z1a,cn=users,dc=deadlock42,dc=intranet info 2017-03-16 15:47:42 add user njro9z1a to group Domain Admins Object modified: cn=Domain Admins,cn=groups,dc=deadlock42,dc=intranet Traceback (most recent call last): File "/usr/sbin/univention-directory-manager", line 201, in <module> main() File "/usr/sbin/univention-directory-manager", line 196, in main result = process_output(output, cmdfile) File "/usr/sbin/univention-directory-manager", line 152, in process_output print line IOError: [Errno 32] Broken pipe could not obtain winbind interface details: WBC_ERR_WINBIND_NOT_AVAILABLE could not obtain winbind separator! debug 2017-03-16 15:47:44 Waiting for replication... OK: replication complete (nid=1740 lid=1740) info 2017-03-16 15:47:44 replication complete. ----wait for the user to be created wbcLookupSid: WBC_ERR_WINBIND_NOT_AVAILABLE TIMEOUT: The user which has been created in UDM could not be found in samba after 20 seconds ----restart winbind Restarting winbind (via systemctl): winbind.service. ----ntml auth with a wrong password (should fail) NT_STATUS_NO_SUCH_USER: No such user (0xc0000064) ----ntml auth with a wrong username (should fail) NT_STATUS_NO_SUCH_USER: No such user (0xc0000064) ----ntml auth with correct credentials NT_STATUS_NO_SUCH_USER: No such user (0xc0000064)
It is currently not reproducible on the same host: root@member425:~# /usr/share/ucs-test/53_samba-common/05domain-join-ntlm-auth -f ----create user info 2017-03-16 16:13:20 create user p2s81oxp Object created: uid=p2s81oxp,cn=users,dc=deadlock42,dc=intranet info 2017-03-16 16:13:20 add user p2s81oxp to group Domain Admins Object modified: cn=Domain Admins,cn=groups,dc=deadlock42,dc=intranet debug 2017-03-16 16:13:22 Waiting for replication... OK: replication complete (nid=2106 lid=2106) ----wait for the user to be created info 2017-03-16 16:13:22 replication complete. ----restart winbind Failed to open /dev/tty: Kein passendes Gerät bzw. keine passende Adresse gefunden Restarting winbind (via systemctl): winbind.service. ----ntml auth with a wrong password (should fail) NT_STATUS_WRONG_PASSWORD: Wrong Password (0xc000006a) ----ntml auth with a wrong username (should fail) NT_STATUS_NO_SUCH_USER: No such user (0xc0000064) ----ntml auth with correct credentials NT_STATUS_OK: Success (0x0) info 2017-03-16 16:13:30 remove user p2s81oxp Object removed: uid=p2s81oxp,cn=users,dc=deadlock42,dc=intranet debug 2017-03-16 16:13:30 user p2s81oxp removed info 2017-03-16 16:13:30 checking whether the user p2s81oxp is really removed debug 2017-03-16 16:13:31 user p2s81oxp does not exist Starting 1 ucs-test at 2017-03-16 16:13:31 to /dev/null Checking domain join and ntlm authentication................................................................................................................................................................................................ Test passed root@member425:~# /usr/share/ucs-test/53_samba-common/05domain-join-ntlm-auth -f ----create user info 2017-03-16 16:13:36 create user umuwuzhv Object created: uid=umuwuzhv,cn=users,dc=deadlock42,dc=intranet info 2017-03-16 16:13:37 add user umuwuzhv to group Domain Admins Object modified: cn=Domain Admins,cn=groups,dc=deadlock42,dc=intranet Traceback (most recent call last): File "/usr/sbin/univention-directory-manager", line 201, in <module> main() File "/usr/sbin/univention-directory-manager", line 196, in main result = process_output(output, cmdfile) File "/usr/sbin/univention-directory-manager", line 152, in process_output print line IOError: [Errno 32] Broken pipe debug 2017-03-16 16:13:38 Waiting for replication... OK: replication complete (nid=2141 lid=2141) ----wait for the user to be created info 2017-03-16 16:13:38 replication complete. ----restart winbind Failed to open /dev/tty: Kein passendes Gerät bzw. keine passende Adresse gefunden Restarting winbind (via systemctl): winbind.service. ----ntml auth with a wrong password (should fail) NT_STATUS_WRONG_PASSWORD: Wrong Password (0xc000006a) ----ntml auth with a wrong username (should fail) NT_STATUS_NO_SUCH_USER: No such user (0xc0000064) ----ntml auth with correct credentials NT_STATUS_OK: Success (0x0) info 2017-03-16 16:13:45 remove user umuwuzhv Object removed: uid=umuwuzhv,cn=users,dc=deadlock42,dc=intranet debug 2017-03-16 16:13:45 user umuwuzhv removed info 2017-03-16 16:13:45 checking whether the user umuwuzhv is really removed debug 2017-03-16 16:13:46 user umuwuzhv does not exist Starting 1 ucs-test at 2017-03-16 16:13:46 to /dev/null Checking domain join and ntlm authentication................................................................................................................................................................................................ Test passed root@member425:~#
Created attachment 8559 [details] test_1489675617.log
"wbinfo --separator" failed in this case, no clue why. I changed the test to use testparm instead (r77825).
OK, woks now.
UCS 4.2 has been released: https://docs.software-univention.de/release-notes-4.2-0-en.html https://docs.software-univention.de/release-notes-4.2-0-de.html If this error occurs again, please use "Clone This Bug".