[Samba] DNS update failed: NT_STATUS_UNSUCCESSFUL

Rowland Penny rpenny at samba.org
Thu Oct 14 13:43:03 UTC 2021


On Thu, 2021-10-14 at 15:25 +0200, peter knezel via samba wrote:
> Hello All,
> 
> having this error when installed kerberos and samba on new server
> with debian 10.10.
> 
> # cat /etc/debian_version
> 10.10
> 
> dpkg -l|grep samba
> ii  python-samba                         2:4.9.5+dfsg-5+deb10u1
>  amd64        Python bindings for Samba
> ii  samba                                2:4.9.5+dfsg-5+deb10u1
>  amd64        SMB/CIFS file, print, and login server for Unix
> ii  samba-common                         2:4.9.5+dfsg-5+deb10u1
>  all          common files used by both the Samba server and client
> ii  samba-common-bin                     2:4.9.5+dfsg-5+deb10u1
>  amd64        Samba common files used by both the server and the
> client
> ii  samba-dsdb-modules:amd64             2:4.9.5+dfsg-5+deb10u1
>  amd64        Samba Directory Services Database
> ii  samba-libs:amd64                     2:4.9.5+dfsg-5+deb10u1
>  amd64        Samba core libraries
> ii  samba-vfs-modules:amd64              2:4.9.5+dfsg-5+deb10u1
>  amd64        Samba Virtual FileSystem plugins
> 
> 
> 
> 
> 
> *# net ads join -U me at MYDOMAIN.xxxLAB.xxx.labEnter me at MYDOMAIN's
> password:Using short domain name -- MYDOMAINJoined 'myserver2' to dns
> domain 'MYDOMAIN.xxxLAB.xxx.lab'DNS update failed:
> NT_STATUS_UNSUCCESSFUL*
> 
> 
> Unfortunately my dns server went wrong (as a virtual machine), so i
> cannot
> at this moment use any.

You need to fix your dns, kerberos requires dns.

> I cheated by adding ip + hostnames of my 2 AD servers into /etc/hosts
> on
> server i have samba isntalled.

Don't think that is going to work.

> 
> Does somebode have solution for this issue?

What are you trying to join ?
Please post your smb.conf.

Rowland





More information about the samba mailing list