Please help me to understand what is wrong

Ricky Nance ricky.nance at
Tue Dec 11 06:08:14 MST 2012

Adrian, so whats not really well documented is the fact that if your
distribution is running X, there is a good chance its running a service
like DNSMasq. The only way you can tell with samba if something is using a
port it needs is by checking /usr/local/samba/var/log.samba, or you can
check it with netstat -anp | grep 53 (53 is the port dns runs on, so if you
were getting other errors like ldap queries not working properly check 389
and 636). If there is something other than samba running on that port, that
is your issue. Unfortunately every distribution is a little different on
how to solve the issue, but google should be able to help you out with
turning off services from starting up. Good luck with your endeavors into
the world of Samba 4.


On Tue, Dec 11, 2012 at 2:37 AM, Adrian Stoica <adrian.stoica at>wrote:

> Please help me to understand what i do wrong.
> I test the rc6 of samba4 and i recreate the example from wiki , with
> on
> i use exactly info that is on that page , internal dns , etc.
> When i want to join to the domain (**
> php/Samba4/HOWTO#Step_3:_**Joining_Windows_Clients_to_**the_Domain<>), an windows xp ( with the correct settings in time , dns , ip )give this
> error.
> The following error occurred when DNS was queried for the service location
> (SRV) resource record used to locate a domain controller for domain
> The error was: "This operation returned because the timeout period
> expired."
> (error code 0x000005B4 ERROR_TIMEOUT)
> The query was for the SRV record for _ldap._tcp.dc._msdcs.SAMDOM.**
> The DNS servers used by this computer for name resolution are not
> responding. This computer is configured to use DNS servers with the
> following IP addresses:


More information about the samba-technical mailing list