Skip to content

Commit

Permalink
build: Use ntlm_auth from source3 as the only ntlm_auth installed on …
Browse files Browse the repository at this point in the history
…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 <[email protected]>
  • Loading branch information
abartlet authored and cryptomilk committed Nov 22, 2012
1 parent c704f0d commit 1000da9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion selftest/wscript
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion source3/wscript_build
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 8 additions & 6 deletions source4/utils/wscript_build
Original file line number Diff line number Diff line change
@@ -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
)


Expand Down

0 comments on commit 1000da9

Please sign in to comment.