summaryrefslogtreecommitdiff
path: root/source4/torture/winbind
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/winbind')
-rw-r--r--source4/torture/winbind/config.mk4
-rw-r--r--source4/torture/winbind/winbind.c1
2 files changed, 3 insertions, 2 deletions
diff --git a/source4/torture/winbind/config.mk b/source4/torture/winbind/config.mk
index d2c57e9c97..2bd613d649 100644
--- a/source4/torture/winbind/config.mk
+++ b/source4/torture/winbind/config.mk
@@ -6,11 +6,11 @@ SUBSYSTEM = smbtorture
OUTPUT_TYPE = MERGED_OBJ
INIT_FUNCTION = torture_winbind_init
PRIVATE_DEPENDENCIES = \
- LIBWINBIND-CLIENT torture PAM_ERRORS
+ LIBWBCLIENT LIBWINBIND-CLIENT torture PAM_ERRORS
# End SUBSYSTEM TORTURE_WINBIND
#################################
-TORTURE_WINBIND_OBJ_FILES = $(addprefix $(torturesrcdir)/winbind/, winbind.o struct_based.o)
+TORTURE_WINBIND_OBJ_FILES = $(addprefix $(torturesrcdir)/winbind/, winbind.o struct_based.o) ../nsswitch/libwbclient/tests/wbclient.o
$(eval $(call proto_header_template,$(torturesrcdir)/winbind/proto.h,$(TORTURE_WINBIND_OBJ_FILES:.o=.c)))
diff --git a/source4/torture/winbind/winbind.c b/source4/torture/winbind/winbind.c
index b12e92552e..63d31a5f1e 100644
--- a/source4/torture/winbind/winbind.c
+++ b/source4/torture/winbind/winbind.c
@@ -26,6 +26,7 @@ NTSTATUS torture_winbind_init(void)
struct torture_suite *suite = torture_suite_create(talloc_autofree_context(), "WINBIND");
torture_suite_add_suite(suite, torture_winbind_struct_init());
+ torture_suite_add_suite(suite, torture_wbclient());
suite->description = talloc_strdup(suite, "WINBIND tests");