Univention Bugzilla – Bug 31772
50_samba/30winbind fails on memberserver and DC backups
Last modified: 2014-04-16 16:16:56 CEST
I've activated the test case 50_samba/30winbind for memberserver. Currently the test fails at least in a S4 domain on a memberserver: http://jenkins.knut.univention.de:8080/job/autotest/SambaVersion=s3,Systemrolle=member/lastCompletedBuild/testReport/%28root%29/50_samba_30winbind/Winbind_Test/
Test has been adjusted (wbinfo --name-to-sid only works after wbinfo --authenticate works once, which takes some time due to repliaction).
The test still fails sometimes: http://jenkins.knut.univention.de:8080/view/Autotest/job/UCS%203.2%20Autotest%20MultiEnv/SambaVersion=s3,Systemrolle=member/lastCompletedBuild/testReport/%28root%29/50_samba_30winbind/Winbind_Test/
Yeah, it fails at the preliminary sanity check. ;aybe we have to restart samba+winbind in the beginning of the test or at the end of the previous test, as the previous test performs a "net rpc join", maybe that causes the problem.
(In reply to Arvid Requate from comment #3) > Yeah, it fails at the preliminary sanity check. ;aybe we have to restart > samba+winbind in the beginning of the test or at the end of the previous > test, as the previous test performs a "net rpc join", maybe that causes the > problem. I think we should move 25domain-join-without-admin-rights to a later point because as you said it uses net rpc join. First we should check if the installed packages are running as excepted (30winbind) and than we could do such things.
The test failed on a DC backup as well: http://jenkins.knut.univention.de:8080/view/Autotest/job/UCS%203.2%20Autotest%20MultiEnv/100/SambaVersion=s4,Systemrolle=backup/testReport/%28root%29/50_samba_30winbind/Winbind_Test/
Yes, the --ping-dc does not work against the samba4 winbind implementation: +[2013/08/06 02:28:47.120149, 10, pid=27232, effective(0, 0), real(0, 0)] ../source4/winbind/wb_samba3_protocol.c:246(wbsrv_samba3_handle_call) + Unimplemented winbind samba3 request 34 Since this was more of a "hey, don't know what it does, but let's tests it anyway" kind of test, I changed the code to just issue an error message and continue. Note: There are more un- or dummy-implemented calls: root@master110:~# wbinfo --trusted-domains failed to call wbcListTrusts: WBC_ERR_DOMAIN_NOT_FOUND Could not list trusted domains root@master110:~# wbinfo --own-domain ARERR311I3 root@master110:~# wbinfo -D ARERR311I3 Name : ARERR311I3 Alt_Name : ARERR311I3 SID : S-1-2-3-4 Active Directory : No Native : No Primary : No root@master110:~# wbinfo --dsgetdcname ARERR311I3 Could not find dc for ARERR311I3
The test case fails on a DC Slave with S4: ************************************************************************** *** BEGIN *** ['/bin/bash', '30winbind'] *** ## create User info 2013-09-19 11:38:22 create user vou0qa7n Object created: uid=vou0qa7n,cn=users,dc=autotest095,dc=local Waiting for replication: OK: replication complete (nid=3392 lid=3392) Done: replication complete. ## wbinfo -t checking the trust secret for domain AUTOTEST095 via RPC calls succeeded ## wbinfo --ping Ping to winbindd succeeded ## wbinfo --ping-dc failed to call wbcPingDc: WBC_ERR_DOMAIN_NOT_FOUND checking the NETLOGON dc connection to "" failed 30winbind: Zeile 49: err: Kommando nicht gefunden. ## wbinfo -D failed to call wbcListTrusts: WBC_ERR_DOMAIN_NOT_FOUND Could not list trusted domains Waiting for S4-Connector and LDAP replication of domain sambaSID for user vou0qa7n (current: S-1-4-2125).... S4-Connector and LDAP replication of domain sambaSID took 5 seconds ## wbinfo --name-to-sid: failed to call wbcLookupName: WBC_ERR_DOMAIN_NOT_FOUND Could not lookup name vou0qa7n error 2013-09-19 11:38:27 wbinfo --name-to-sid 'vou0qa7n' failed error 2013-09-19 11:38:27 **************** Test failed above this line (1) **************** info 2013-09-19 11:38:27 remove user vou0qa7n Object removed: uid=vou0qa7n,cn=users,dc=autotest095,dc=local debug 2013-09-19 11:38:27 user vou0qa7n removed info 2013-09-19 11:38:27 checking whether the user vou0qa7n is really removed debug 2013-09-19 11:38:27 user vou0qa7n does not exist *** END *** 1 *** **************************************************************************
Wait until Arvid is back.
The failure of the "wbinfo --name-to-sid" in Samba4 domains was a timing issue. Now the test waits ofor DRS replication as well.
It failed again (s3 + backup): http://jenkins.knut.univention.de:8080/view/Autotest/job/UCS%203.2%20Autotest%20MultiEnv/SambaVersion=s3,Systemrolle=backup/174/testReport/%28root%29/50_samba_30winbind/Winbind_Test/
Move ucs-test issue to interim-4.
No blocker for the release.
Seems to work now.
OK
Released as an errata update to unmaintained.