Univention Bugzilla – Bug 43853
Test case 53_samba-common/30winbind fails in UCS 4.2
Last modified: 2017-04-04 18:28:42 CEST
The test case 53_samba-common/30winbind fails in UCS 4.2 root@master421:~# /usr/share/ucs-test/53_samba-common/30winbind -f ## create User info 2017-03-14 17:20:57 create user 9w9oüme0 Object created: uid=9w9oüme0,cn=users,dc=deadlock42,dc=intranet debug 2017-03-14 17:20:57 Waiting for replication... OK: replication complete (nid=2394 lid=2394) ## wbinfo -t info 2017-03-14 17:20:58 replication complete. checking the trust secret for domain DEADLOCK42 via RPC calls succeeded ## wbinfo --ping Ping to winbindd succeeded ## wbinfo --ping-dc checking the NETLOGON for domain[DEADLOCK42] dc connection to "master421.deadlock42.intranet" succeeded ## wbinfo -D Waiting for S4-Connector and LDAP replication of domain sambaSID for user 9w9oüme0 (current: S-1-4-2076)... S4-Connector and LDAP replication of domain sambaSID took 43 seconds ## wbinfo --name-to-sid: S-1-5-21-2160655556-514580091-1068932707-1179 ## wbinfo --sid-to-uid: 2076 ## wbinfo --uid-to-sid: S-1-5-21-2160655556-514580091-1068932707-1179 ## wbinfo --sid-to-name: DEADLOCK42+9w9oüme0 ## checking user groups ## wbinfo --user-domgroups: S-1-5-21-2160655556-514580091-1068932707-1179 failed to call wbcSidToGid: WBC_ERR_DOMAIN_NOT_FOUND Could not convert sid S-1-5-21-2160655556-514580091-1068932707-1179 to gid error 2017-03-14 17:21:17 wbinfo --sid-to-gid 'S-1-5-21-2160655556-514580091-1068932707-1179' failed error 2017-03-14 17:21:17 **************** Test failed above this line (1) **************** info 2017-03-14 17:21:17 remove user 9w9oüme0 ## wbinfo --sid-to-gid: Object removed: uid=9w9oüme0,cn=users,dc=deadlock42,dc=intranet debug 2017-03-14 17:21:17 user 9w9oüme0 removed info 2017-03-14 17:21:17 checking whether the user 9w9oüme0 is really removed debug 2017-03-14 17:21:17 user 9w9oüme0 does not exist Starting 1 ucs-test at 2017-03-14 17:21:17 to /dev/null Winbind Test............................................................................................................................................ Test failed root@master421:~# It looks like 'wbinfo --user-domgroup' returns the user sid too: root@master421:~# wbinfo --user-domgroups=S-1-5-21-2160655556-514580091-1068932707-1119 S-1-5-21-2160655556-514580091-1068932707-1119 S-1-5-21-2160655556-514580091-1068932707-513 root@master421:~#
r77716: * 53_samba-common/30winbind: In UCS 4.2, wbinfo --user-domgroups returns the user sid too. The test case no longer tries to convert this sid into group information (Bug #43853)
Ok, I didn't find the origin of this change yet. net rpc user info only returns the groups.
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".