[Samba] bind or samba configuration preventing browsing network

Erik Anderson subscribed at hardwaremonkey.com
Wed Apr 11 18:31:02 GMT 2007


I have a networking problem where I am not certain if the problem is 
samba or bind. I am still pretty much a nb at linux. The machine in 
question is running openSuSE 10.2 and is named rd1. I had samba working 
fine before I started to make it a WINS server and DNS host.

I have a small LAN with no real administration functionality. The 
network is used for simple file sharing and dial-up internet 
connectivity. The SuSE box is the only linux box on the network, and a 
fairly new addition. I am attempting to setup rd1 to handle DNS and WINS 
and participate in the network filesharing activities. The windows boxes 
are running XP. Internet access is on a XP computer located at 
192.168.0.1 and is hence setup as the gateway. rd1 is located at 
192.168.0.4 and I decided to use the m$ domain of mshome.net, but create 
a workgroup called radio

Using the following configuration, the XP boxes can see all the machines 
on the network. At times, the XP boxes can access rd1 (not not 
currently, as I must have broken something). rd1 cannot browse the 
“Windows Network” but, a cifs automount permits access to points mounted 
on 192.168.0.1

An nslookup performed on rd1 always works right (nslookup rd1 or 
nslookup rd1.mshome.net). An nslookup using full hostnames (e.g. 
nslookup rd1.mshome.net) works, but dropping the domain does not (e.g. 
nslookup rd1) on the XP box.
I have spent a bunch of time trying to resolve this. I am stuck. Where 
have I gone wrong? Thank you for your help...


-- smb.conf --


[global]
workgroup = RADIO
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
usershare allow guests = Yes
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s 
/bin/false %m$
netbios name = rd1
security = domain
usershare max shares = 100
server string = rd1
hosts allow = 192.168.0. 192.168.10.
local master = Yes
os level = 32
preferred master = Yes
domain master = Yes
wins support = Yes
name resolve order = wins lmhosts bcast hosts
dns proxy = yes
idmap gid = 10000-20000
idmap uid = 10000-20000
[export]
comment = All groups
path = /var/test
read only = No
create mask = 0777
directory mask = 0777
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
write list = root


# named.conf
options {
version "707070707070707070707 - A custom compile";
directory "/var/lib/named";
dump-file "/var/log/named_dump.db";
statistics-file "/var/log/named.stats";
listen-on port 53 { 127.0.0.1; 192.168.0.4; };
listen-on-v6 { 192.168.0.4; };
query-source address * port 53;
allow-query { 192.168.0.1/24; 127.0.0.1; };
notify no;
include "/etc/named.d/forwarders.conf";
hostname "mshome.net";
};


zone "localhost" in {
type master;
file "localhost.zone";
};

zone "0.0.127.in-addr.arpa" in {
type master;
file "127.0.0.zone";
};

zone "mshome.net" in {
allow-update {192.168.0.1/24; };
allow-transfer { none; };
file "master/mshome.netX";
type master;
};

zone "0.168.192.in-addr.arpa" in {
allow-transfer { none; };
file "master/0.168.192.in-addr.arpaX";
type master;
};

// RFC 3152 zone 
"1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA 
" { type master; file "master/localhost-v6.rev"; };;

// RFC 1886 -- deprecated zone 
"1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.INT 
" { type master; file "master/localhost-v6.rev"; };;

logging {
category queries { log_file; };
category xfer-in { log_file; };
category xfer-out { log_file; };
category default { log_file; };
channel log_file { file "/var/log/bind-dns" size 5M; };
};


-- master/mshome.netX --


$TTL 2d
@ IN SOA mshome.net. root.rd1.mshome.net. (
2007040900 ; serial
3h ; refresh
1h ; retry
1w ; expiry
1d ) ; minimum


@ IN NS 192.168.0.4
mshome.net. IN A 192.168.0.4
rd1 IN A 192.168.0.4
localhost IN A 127.0.0.1
inetlive IN A 192.168.0.1




--master/0.168.192.in-addr.arpaX --




$TTL 2d
@ IN SOA mshome.net. root.rd1.mshome.net. (
2007040900 ; serial
3h ; refresh
1h ; retry
1w ; expiry
1d ) ; minimum


@ IN NS mshome.net.
4 IN PTR mshome.net.




--log.nmbd --


[2007/04/11 13:30:51, 0] 
nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(351)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name RADIO<1b> for the 
workgroup RADIO.
Unable to sync browse lists in this workgroup.


-- bind-dns.log --
empty file






More information about the samba mailing list