[PATCH] don't build AD DC-specific dns and dsdb modules without AD DC

Jeremy Allison jra at samba.org
Fri Jul 20 22:12:46 UTC 2018

On Fri, Jul 20, 2018 at 02:43:40PM -0700, Jeremy Allison via samba-technical wrote:
> On Fri, Jul 20, 2018 at 01:01:49PM +0300, Alexander Bokovoy via samba-technical wrote:
> > Hi,
> > 
> > small patchset to make sure we don't build packages which couldn't be
> > used without AD DC when no AD DC is compiled in.
> LGTM. Thanks Alexander. RB+ and pushed !

Sorry Alexander, failing in autobuild with:

   samba-systemkrb5: [test] failed 'make test FAIL_IMMEDIATELY=1 TESTS='--include-env=ktest'' with status 2

[17(19)/19 at 9s] samba3.blackbox.smbclient_krb5 new ccache -e(ktest:local)
[18(20)/19 at 9s] samba3.blackbox.smbclient_large_file -e krb5(ktest:local)
[19(22)/19 at 13s] samba.tests.ntlmdisabled.python(ktest)(ktest)
Traceback (most recent call last):
  File "/memdisk/jra/a/b657055/samba-systemkrb5/source4/scripting/bin/subunitrun", line 42, in <module>
    from samba.tests.subunitrun import TestProgram, SubunitOptions
  File "bin/python/samba/tests/__init__.py", line 41, in <module>
    from samba.samdb import SamDB
  File "bin/python/samba/samdb.py", line 31, in <module>
    from samba import dsdb, dsdb_dns
ImportError: cannot import name dsdb
command: PYTHONPATH=$PYTHONPATH:/memdisk/jra/a/b657055/samba-systemkrb5/python/samba/tests python /memdisk/jra/a/b657055/sam
+ba-systemkrb5/source4/scripting/bin/subunitrun  $LOADLIST ntlmdisabled 2>&1  | /memdisk/jra/a/b657055/samba-systemkrb5/self
+test/filter-subunit --fail-on-empty --prefix="samba.tests.ntlmdisabled.python(ktest)." --suffix="(ktest)"
expanded command: PYTHONPATH=/memdisk/jra/a/b657055/samba-systemkrb5/bin/python:/memdisk/jra/a/b657055/samba-systemkrb5/pyth
+on/samba/tests python /memdisk/jra/a/b657055/samba-systemkrb5/source4/scripting/bin/subunitrun  $LOADLIST ntlmdisabled 2>&1
+  | /memdisk/jra/a/b657055/samba-systemkrb5/selftest/filter-subunit --fail-on-empty --prefix="samba.tests.ntlmdisabled.pyth
+on(ktest)." --suffix="(ktest)"
ERROR: Testsuite[samba.tests.ntlmdisabled.python(ktest)(ktest)]
REASON: Exit code was 1

More information about the samba-technical mailing list