The strange issues happening with ad_dc_ntvfs environment

Andreas Schneider asn at
Thu Apr 13 08:51:52 UTC 2023

On Thursday, 13 April 2023 06:18:16 CEST Douglas Bagnall via samba-technical 
> On 13/04/23 05:35, Andreas Schneider via samba-technical wrote:
> > Hi,
> > 
> > there are strange things going on with the ad_dc_ntvfs environment. You
> > can
> > see it very well with the samba.tests.samba_tool.user.ad_dc_ntvfs test
> > now.
> > 
> > I've created a patch that samba-tool consistently uses LDAP and not a mix
> > it with local operations.
> > 
> > This fixed a lot of issues. However there is a test called
> > `test_setpassword` which calls 'samba-tool user syncpassword' which can't
> > use LDAP. So I've passed it the configuration. However this test fails
> > now, see attached log.
> > 
> > Is it possible that the samba process restarted and works on different
> > databases now?
> > Any other ideas?
> No.
> Is this with a full make test, like you were doing in February? I can
> have a go at that overnight on Ubuntu 22.04.

Yes, I'm still trying to get this working downstream and I think this should 
still work even if CI/autobuild is not running a full make test anymore.

This seems to be a bug in some test and we should fix it.

> First I'll try `make test TESTS=ntvfs`, just in case that works.

If I run

  make -j8 test TESTS="ad_dc_ntvfs s4member"

it passes just fine :-(


Andreas Schneider                      asn at
Samba Team                   
GPG-ID:     8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D

More information about the samba-technical mailing list