[Bug 284473] net/samba420_broken_replication

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 30 Jan 2025 20:34:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284473

            Bug ID: 284473
           Summary: net/samba420_broken_replication
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: oljas@oml.su

command:
samba-tool drs replicate DC2 DC1 dc=samdom,dc=example,dc=com

returns:
ERROR(ldb): uncaught exception - 00002020: Operation unavailable without
authentication
  File "/usr/local/lib/python3.11/site-packages/samba/netcmd/__init__.py", line
285, in _run
    return self.run(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/samba/netcmd/drs.py", line 535,
in run
    msg = self.samdb.search(base=self.samdb.get_config_basedn(),
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expected Results:
Replicate from DC1 to DC2 was successful.

same as with samba419:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281672

Workaround with options in make.conf no longer works:
SAMBA4_BUNDLED_TDB=yes
SAMBA4_BUNDLED_LDB=yes

Error in poudriere:
pkg-static: Unable to access file
/wrkdirs/usr/ports/net/samba420/work/stage/usr/local/lib/samba4/private/libldb-mdb-int-samba4.so:No
such file or directory

-- 
You are receiving this mail because:
You are the assignee for the bug.