selftest: Extend test_wbc_logon_user to test WBFLAG_PAM_UNIX_NAME flag
authorSamuel Cabrero <scabrero@samba.org>
Wed, 30 Mar 2022 09:46:08 +0000 (11:46 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 8 Apr 2022 20:13:37 +0000 (20:13 +0000)
commit3944b586d555dcab6d132033165d2635b685e1f7
tree470ec1cbb89286a0aab0d0fe310da9c3497a4f39
parent68096b56159244a1b3607e5483623b5341423b68
selftest: Extend test_wbc_logon_user to test WBFLAG_PAM_UNIX_NAME flag

Use the same function append_unix_username() uses to build the expected
value as it depends on the server role. This requires linking
winbindd-lib.

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
nsswitch/libwbclient/tests/wbclient.c
source4/torture/winbind/wscript_build