s4-auth: Only build auth_developer module in developer mode
authorAndrew Bartlett <abartlet@samba.org>
Wed, 23 Mar 2022 02:10:23 +0000 (15:10 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 29 Mar 2022 02:33:34 +0000 (02:33 +0000)
This is a silly module for provoking NTSTATUS replies for testing and
was useful many moons ago for determining the NTSTATUS -> DOS table that
windows uses.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/auth/ntlm/wscript_build

index 43c21ceb67f44f310056c2246fea5d886d8de4c8..f669ca90367173254689046707e8375dd8dc5116 100644 (file)
@@ -28,7 +28,8 @@ bld.SAMBA_MODULE('auth4_developer',
        source='auth_developer.c',
        subsystem='auth4',
        init_function='auth4_developer_init',
-       deps='tevent'
+       deps='tevent',
+        enabled=bld.env.DEVELOPER_MODE
        )