[Samba] Log spam "Failed to bind to uuid ..."

O'Connor, Daniel darius at dons.net.au
Sat Sep 5 02:37:36 UTC 2020

> On 30 Aug 2020, at 13:58, O'Connor, Daniel <darius at dons.net.au> wrote:
> So far as I can tell everything is working, however I see the following in the logs very frequently:
> [2020/08/29 21:47:38.183133,  0] ../../source4/librpc/rpc/dcerpc_util.c:737(dcerpc_pipe_auth_recv)
>  Failed to bind to uuid e3514235-4b06-11d1-ab04-00c04fc2dcd2 for ncacn_ip_tcp:[49153,seal,krb5,target_hostname=37adf10e-347b-4c3e-b98b-3f03da024a3c._msdcs.beger.com.au,target_principal=GC/gateway.beger.com.au/beger.com.au,abstract_syntax=e3514235-4b06-11d1-ab04-00c04fc2dcd2/0x00000004,localaddress=] NT_STATUS_UNSUCCESSFUL
> Can someone explain what it actually means, and better - how I can fix it? :)

I had another look at this and found that the old server was still in "Active Directory Sites and Services" under "Default-First-Site-Name".

I tried to delete it but it complained:
Windows cannot delete object LDAP://gateway2.beger.com.au/CN=NTDS Settings,CN=GATEWAY,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=beger,DC=com,DC=au because: The specified module could not be found

I looked around and found the alias for that server (which is the target_hostname in the log message) and found it was in DNS pointing to the new server.

I deleted it from DNS and the log spam appears to have stopped.

I also checked the samba-tool drs and that still lists the old server:
[gateway2 12:01] ~ >sudo samba-tool drs showrepl
DSA Options: 0x00000001
DSA object GUID: f6f94063-2c6b-4214-9bb4-564ed6c02826
DSA invocationId: 4965c028-3a3e-417f-bbb9-85b8236b0837


	Default-First-Site-Name\GATEWAY via RPC
		DSA object GUID: 37adf10e-347b-4c3e-b98b-3f03da024a3c
		Last attempt @ Sat Sep  5 12:01:08 2020 ACST failed, result 2 (WERR_FILE_NOT_FOUND)
		1960 consecutive failure(s).
		Last success @ Sat Aug 29 15:55:31 2020 ACST



Connection --
	Connection name: 501cc037-ceb4-421f-87f3-c7dc4ebd3e42
	Enabled        : TRUE
	Server DNS name : gateway.beger.com.au
	Server DN name  : CN=NTDS Settings,CN=GATEWAY,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=beger,DC=com,DC=au
		TransportType: RPC
		options: 0x00000001
Warning: No NC replicated for Connection!

I'm not sure if that is a real problem and/or if there is a way to point it to the new server.

Can anyone give me a clue?


Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
 -- Andrew Tanenbaum

More information about the samba mailing list