I applied this simple patch, but the tests still fail. The log output is hard to parse, I'm attaching it.
--- a/internal/testutils/samba.go +++ b/internal/testutils/samba.go @@ -18,7 +18,7 @@ func SetupSmb(port int, sysvolDir string) func() { dir, cleanup := mkSmbDirWithConf(smbPort, sysvolDir) // #nosec:G204 - we control the directory we run smbd on (on tests) - cmd := exec.Command("smbd", "-FS", "-s", filepath.Join(dir, "smbd.conf")) + cmd := exec.Command("smbd", "-F", "--debug-stdout", "-s", filepath.Join(dir, "smbd.conf")) stderr, err := cmd.StderrPipe() if err != nil { log.Fatalf("Setup: can’t get smb output: %v", err) ** Attachment added: "log" https://bugs.launchpad.net/ubuntu/+source/adsys/+bug/1962170/+attachment/5563894/+files/log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1962170 Title: DEP8 failure with samba 4.15.5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/adsys/+bug/1962170/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs