mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
configure: Fail smbd w/o smb1 if selftest when configured with ad_dc
When we build with samba selftest and ad_dc, we must include smb1 in smbd. Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
a9b5727632
commit
b6d416205b
7
wscript
7
wscript
@ -394,6 +394,13 @@ def configure(conf):
|
||||
msg="Checking compiler for full RELRO support"):
|
||||
conf.env['ENABLE_RELRO'] = True
|
||||
|
||||
if conf.CONFIG_GET('ENABLE_SELFTEST') and \
|
||||
Options.options.with_smb1server == False and \
|
||||
Options.options.without_ad_dc != True:
|
||||
conf.fatal('--without-smb1-server cannot be specified with '
|
||||
'--enable-selftest/--enable-developer if '
|
||||
'--without-ad-dc is NOT set!')
|
||||
|
||||
if Options.options.with_smb1server != False:
|
||||
conf.DEFINE('WITH_SMB1SERVER', '1')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user