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 279, 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. It works fine on 4.19.7 and 4.16
4.19.9 the problem still persists
DC replication with samba 4.19.7 and 4.19.8 on FreeBSD working fine when samba builded with internal LDB and TDB tools. To build samba with internal LDB and TDB I am added: SAMBA4_BUNDLED_TDB=yes SAMBA4_BUNDLED_LDB=yes to /etc/make.conf and rebuild net/samba419 Maybe there is rationale to make LDB and TDB bundled with samba by default?
(In reply to Sergey Nasonov from comment #2) That worked! Thanks!