From 1000da933534f1148f5b6f9db2029a5074917968 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 21 Nov 2012 15:34:43 +1100 Subject: [PATCH] build: Use ntlm_auth from source3 as the only ntlm_auth installed on the system The ntlm_auth4 binary is untested, and is missing major features compared with the source3 binary. The two are being slowly merged, but I have not finished that. Andrew Bartlett Reviewed-by: Andreas Schneider --- selftest/wscript | 2 +- source3/wscript_build | 2 +- source4/utils/wscript_build | 14 ++++++++------ 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/selftest/wscript b/selftest/wscript index a5b2e5358f6..4733dc17cd1 100644 --- a/selftest/wscript +++ b/selftest/wscript @@ -121,7 +121,7 @@ def cmd_testonly(opt): 'smbclient3:smbclient,' + 'smbclient4:smbclient4,' + 'smbtorture4:smbtorture,' + - 'ntlm_auth3:ntlm_auth3') + 'ntlm_auth3:ntlm_auth') env.OPTIONS = '--binary-mapping=%s' % binary_mapping if not Options.options.SLOWTEST: diff --git a/source3/wscript_build b/source3/wscript_build index 351d22df7d1..d21aa7b8427 100755 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -1568,7 +1568,7 @@ bld.SAMBA3_BINARY('versiontest', param''', vars=locals()) -bld.SAMBA3_BINARY('ntlm_auth' + bld.env.suffix3, +bld.SAMBA3_BINARY('ntlm_auth', source=NTLM_AUTH_SRC, deps=''' talloc diff --git a/source4/utils/wscript_build b/source4/utils/wscript_build index da937dd3574..3b21eda9009 100644 --- a/source4/utils/wscript_build +++ b/source4/utils/wscript_build @@ -1,11 +1,13 @@ #!/usr/bin/env python -bld.SAMBA_BINARY('ntlm_auth', - source='ntlm_auth.c', - manpages='man/ntlm_auth.1', - deps='''samba-hostconfig samba-util popt POPT_SAMBA POPT_CREDENTIALS gensec LIBCLI_RESOLVE - auth4 NTLMSSP_COMMON MESSAGING events service''', - pyembed=True +bld.SAMBA_BINARY('ntlm_auth4', + source='ntlm_auth.c', + manpages='man/ntlm_auth.1', + deps='''samba-hostconfig samba-util popt + POPT_SAMBA POPT_CREDENTIALS gensec LIBCLI_RESOLVE + auth4 NTLMSSP_COMMON MESSAGING events service''', + pyembed=True, + install=False ) -- 2.34.1