[Samba] Samba 3.5.10 and Windows 7 DNS Issues

David Greco David_Greco at harte-hanks.com
Wed Jan 11 08:37:30 MST 2012


Having a hard time getting Samba 3.5.10 on Centos 6 and Windows 7 to play nice. The Windows 7 clients are on a windows domain, DFBFL.ad.foo.com, but the Samba server is not a member of this domain. Security level in samba is set to USER.  I can successfully browe and access samba shares utilizing the IP, \\10.70.147.151\<file:///\\10.70.147.151\>, but cannot using the DNS name, \\hhl-webdev\<file:///\\hhl-webdev\> or \\HHL-WEBDEV\<file:///\\HHL-WEBDEV\> or \\HHL-WEBDEV.DFBFL.AD.FOO.COM\<file:///\\HHL-WEBDEV.DFBFL.AD.FOO.COM\>. Hitting it via DNS name results in continual password prompts.


Processes running:
[root at hhl-webdev<mailto:root at hhl-webdev> samba]# netstat -anp | grep mbd
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 12381/smbd
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 12381/smbd
udp 0 0 10.70.147.255:137 0.0.0.0:* 12392/nmbd
udp 0 0 10.70.147.151:137 0.0.0.0:* 12392/nmbd
udp 0 0 0.0.0.0:137 0.0.0.0:* 12392/nmbd
udp 0 0 10.70.147.255:138 0.0.0.0:* 12392/nmbd
udp 0 0 10.70.147.151:138 0.0.0.0:* 12392/nmbd
udp 0 0 0.0.0.0:138 0.0.0.0:* 12392/nmbd
unix 2 [ ] DGRAM 9890070 12392/nmbd


SMB.CONF:
[global]
workgroup = DFBFL
netbios name = HHL-WEBDEV
log file = /var/log/samba/log.%m
security = user
passdb backend = tdbsam

[homes]
comment = Home Directories
browseable = no
writable = yes


Nslookup on windows:

C:\Windows\System32>nslookup HHL-WEBDEV
Server: dfbfldc01.dfbfl.ad.harte-hanks.com
Address: 10.70.147.13

Non-authoritative answer:
Name: HHL-WEBDEV.harte-hanks.com
Address: 10.70.147.151


C:\Windows\System32>ping hhl-webdev
Pinging hhl-webdev.harte-hanks.com [10.70.147.151] with 32 bytes of data:
Reply from 10.70.147.151: bytes=32 time<1ms TTL=64
Reply from 10.70.147.151: bytes=32 time<1ms TTL=64
Reply from 10.70.147.151: bytes=32 time<1ms TTL=64

Ping statistics for 10.70.147.151:
Packets: Sent = 3, Received = 3, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms






More information about the samba mailing list