Sunday 30 October 2011

Slow auth on samba

Slow auth on samba

Hello All!

I'm in the process of installing a CentOS 6 server in order to do some basic file serving (basic file serving of a sizeable magnitude - 108TB in a server is awesome to look at) and I'm making progress but have hit a slight snag.

I've got the whole thing authenticating against AD and it looks to be working fine, the only problem is that when you connect to the computer it can take up to 10 seconds to connect. Doing a TCP dump of the delay reveals this:

15:10:34.394189 IP 192.168.1.96.42422 > 192.168.3.255.netbios-ns: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST

15:10:41.179525 IP 192.168.1.96.58743 > dcname.domain: 32969+ PTR? 207.21.168.192.in-addr.arpa. (45)

That's seven seconds of it waiting and it's killing me...

To me it looks like it's trying to hit dcname.domain instead of our proper domain name, but I've grep'd the whole server and can find that string nowhere so I don't know where I've misconfigured this thing? Does anyone have any idea what might be causing this?

Thank you,
Lucas

No comments:

Post a Comment