[Samba] SPNEGO login failed: An internal error occurred

Rowland Penny rpenny at samba.org
Tue Sep 5 07:58:00 UTC 2017


On Tue, 05 Sep 2017 09:26:48 +0200
Gregor Burck via samba <samba at lists.samba.org> wrote:

> Hi,
> 
> this is the /etc/hosts:
> 
> 127.0.0.1       localhost
> 127.0.1.1       mx01.rabadanten.de mx01

AHA, I thought so, the last line above should be:

195.62.123.31 mx01.rabadanten.de mx01

Remove the '127.0.1.1'

> 
> # The following lines are desirable for IPv6 capable hosts
> ::1     localhost ip6-localhost ip6-loopback
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
> 
> and additionel the /etc/resolv.conf:
> 
> # Dynamic resolv.conf(5) file for glibc resolver(3) generated by
> resolvconf(8) #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES
> WILL BE OVERWRITTEN nameserver 127.0.0.1
> search rabadanten.de

Is your DC getting its IP via DHCP ? if so change it to a fixed IP
I would also remove the 'resolvconf' package. You do not want anything
overwriting /etc/resolv.conf.
When you manually create /etc/resolv.conf, use the DCs IP instead of
'127.0.0.1'
 
> 
> I test the DNS in advance:
> 
> host mx01.rabadanten.de:
> mx01.rabadanten.de has address 195.62.123.31
> mx01.rabadanten.de has IPv6 address 2a02:248:2:32b3:5054:ff:fe80:7b7
> 
> But I found a temp conclusion for this problem:
> 
> ldap server require strong auth = no

I fail to see how this will fix a DNS problem.

Rowland 




More information about the samba mailing list