[Samba] Joining to a Windows 2012 R2 DC

Taner Tas taner76 at gmail.com
Thu Oct 25 12:13:39 UTC 2018


Hi,

The problem that I mentioned above was related on Windows side
(maybe misconfigured 2nd DC). Btw, when I do a
new provision from scratch, error is gone but a new one appears:

DsAddEntry failed with status WERR_ACCESS_DENIED info (8567,
'WERR_DS_INCOMPATIBLE_VERSION')
Join failed - cleaning up

At this I point, I need a certain answer for "Is Samba 4.8.x compatible
with 2012-R2 function level for forest and domain?". Release notes say
that Samba is compatible with 2012-R2 since 4.7. So what should I do
make Samba 4.8 to join an existing 2012-R2 DC in order to benefit this
feature?

Thanks.

> Hi,
> 
> I'm trying to join a Samba installation (4.8.6, Debian Strech) to
> existing 2012-R2 DC. Fails with the message below:
> 
> # samba-tool domain join mydomain.tld DC
> -U"MYDOMAIN.TLD\Administrator" --dns-backend=BIND9_DLZ
> --server=10.22.1.91
> 
> Password for [MYDOMAIN.TLD\Administrator]:
> workgroup is MYDOMAIN
> realm is mydomain.tld
> Adding CN=DC3,OU=Domain Controllers,DC=mydomain,DC=tld
> Join failed - cleaning up
> ERROR(ldb): uncaught exception - LDAP error 53
> LDAP_UNWILLING_TO_PERFORM -  <00002010: SvcErr: DSID-031A12D2, problem
> 5003 (WILL_NOT_PERFORM), data 0
> > <>  
>   File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py",
> line 176, in _run return self.run(*args, **kwargs)
>   File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line
> 706, in run plaintext_secrets=plaintext_secrets)
>   File "/usr/lib/python2.7/dist-packages/samba/join.py", line 1482, in
> join_DC ctx.do_join()
>   File "/usr/lib/python2.7/dist-packages/samba/join.py", line 1381, in
> do_join ctx.join_add_objects()
>   File "/usr/lib/python2.7/dist-packages/samba/join.py", line 616, in
> join_add_objects ctx.samdb.add(rec)




More information about the samba mailing list