Hi guys,
I've installed a FreeBSD 12.2 Release with Samba 4.13 as a primary domain controller, and everything works fine on it.
I need to add a secondary controller to the domain, but when I try do this, I have a problem (on the secondary):
When I just remove the Samba 4.13 from the secondary, without change any configurations, and use the version 4.12.7, everything works fine.
Can anybody help me?
I've installed a FreeBSD 12.2 Release with Samba 4.13 as a primary domain controller, and everything works fine on it.
I need to add a secondary controller to the domain, but when I try do this, I have a problem (on the secondary):
Code:
root@server2:/var/db/samba4 # samba-tool domain join meudominio.info DC -U"MEUDOMINIO\administrator" --option='idmap_ldb:use rfc2307=yes' --option="vfs objects=zfsacl dfs_samba4 acl_xattr"
INFO 2020-11-05 15:06:01,087 pid:84133 /usr/local/lib/python3.7/site-packages/samba/join.py #107: Finding a writeable DC for domain 'meudominio.info'
INFO 2020-11-05 15:06:01,114 pid:84133 /usr/local/lib/python3.7/site-packages/samba/join.py #109: Found DC server1.meudominio.info
Failed to connect to ldap URL 'ldap://server1.meudominio.info' - LDAP client internal error: NT_STATUS_INVALID_PARAMETER
Failed to connect to 'ldap://server1.meudominio.info' with backend 'ldap': LDAP client internal error: NT_STATUS_INVALID_PARAMETER
ERROR(ldb): uncaught exception - LDAP client internal error: NT_STATUS_INVALID_PARAMETER
File "/usr/local/lib/python3.7/site-packages/samba/netcmd/__init__.py", line 186, in _run
return self.run(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/samba/netcmd/domain.py", line 668, in run
backend_store_size=backend_store_size)
File "/usr/local/lib/python3.7/site-packages/samba/join.py", line 1539, in join_DC
backend_store_size=backend_store_size)
File "/usr/local/lib/python3.7/site-packages/samba/join.py", line 112, in __init__
credentials=ctx.creds, lp=ctx.lp)
File "/usr/local/lib/python3.7/site-packages/samba/samdb.py", line 67, in __init__
options=options)
File "/usr/local/lib/python3.7/site-packages/samba/__init__.py", line 115, in __init__
self.connect(url, flags, options)
File "/usr/local/lib/python3.7/site-packages/samba/samdb.py", line 82, in connect
options=options)
When I just remove the Samba 4.13 from the secondary, without change any configurations, and use the version 4.12.7, everything works fine.
Can anybody help me?