nsswitch: let test_wbinfo.sh also test wbinfo -a $USERNAME@$DOMAIN
authorStefan Metzmacher <metze@samba.org>
Mon, 7 Mar 2022 19:57:52 +0000 (20:57 +0100)
committerJule Anger <janger@samba.org>
Wed, 16 Mar 2022 14:27:12 +0000 (14:27 +0000)
commit9b631f4efebd45b921a7d0461fe2b548698003aa
tree6eb2bfeea5ebdc49ffeb44c3621648909a743729
parent57401a170aaa097e42c6e310e7ed76d9ae5a0b60
nsswitch: let test_wbinfo.sh also test wbinfo -a $USERNAME@$DOMAIN

When winbindd forwards wbinfo -a via netrLogonSamLogon* to a remote
DC work fine for upn names, e.g. administrator@DOMAIN.

But it currently fails locally on a DC against the local sam.

For the RODC only work because it forwards the request to
an RWDC.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13879
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15003

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit e1d2c59d360fb4e72dafe788b5d9dbb0572bf811)
nsswitch/tests/test_wbinfo.sh
selftest/knownfail.d/samba.blackbox.wbinfo [new file with mode: 0644]