Vacation Message and subnetwork browsing...
Mark French
MFRENCH at dep.state.nj.us
Mon Nov 26 11:47:14 GMT 2001
I want to first appologize for inadvertantly bombarding everyone with auto-reply vacation mailings. (Thank God i was on digest). I thought I had set my subscription to NO MAIL but... Please accept my sincere apologies and it will/should not happen again. I have turned it off; from the client anyways.
Secondly; I am running SAMBA 2.2.2 on a Solaris 2.7 box with one network card. The IT guys (Novell, Windows people all) had us change our network addresses from one C-class address with no subnets to what I have been told and looks like a pseudo-B-class network with three subnets. The network number(s) are 10.13.32.x (SAMBA server is on this subnet); 10.13.33.x (all SAMBA clients are on this subnet); and 10.13.34.x (Network printers). The subnet masks are all set to 255.255.252.0 (for each 10.13.3x.1). The clients on the 10.13.33 subnet can browse under network neighborhood and can see the few NT/W2K workstations on the network but cannot browse the SAMBA server (10.13.32.7). If they search for that specific IP address or the hostname (if they have a hosts file), they can then browse the shares. Also, these clients are DHCP from a Novell server and get their DNS from there also. The Solaris box is a DNS server in and of itself. (The DNS configuration is up in the air at the moment as I no longer have primary responsibility for it).
On the Solaris side I have setup the hosts, netmasks, and the networks files. The smb and nmb run as daemons with the nmb doing WINS and competing for local browse master. But, it only uses one subnet (10.13.32.). When I try and add the interfaces to the smb.conf, the nmb daemon fails to start. What am I missing? What am I doing wrong? This should work. Here some of the pertinant info:
smb.conf interfaces line that does not work:
interfaces = 10.13.37.1/255.255.252.0 10.13.33.1/255.255.252.0 10.13.34.1/255.255.252.1
partial nmb log file:
[2001/10/31 16:08:05, 3] param/loadparm.c:(2521)
pm_process() returned Yes
[2001/10/31 16:08:05, 3] nmbd/nmbd.c:(217)
services not loaded
[2001/10/31 16:08:05, 2] nmbd/nmbd.c:(709)
Becoming a daemon.
[2001/10/31 16:08:05, 3] nmbd/nmbd.c:(719)
Opening sockets 137
[2001/10/31 16:08:05, 3] lib/util_sock.c:(683)
bind succeeded on port 137
[2001/10/31 16:08:05, 3] lib/util_sock.c:(683)
bind succeeded on port 138
[2001/10/31 16:08:05, 3] nmbd/nmbd.c:(441)
open_sockets: Broadcast sockets opened.
[2001/10/31 16:08:05, 2] lib/interface.c:(176)
Added interface ip=10.13.32.1 bcast=10.13.35.255 nmask=255.255.252.0
[2001/10/31 16:08:05, 2] lib/interface.c:(176)
Added interface ip=10.13.33.1 bcast=10.13.35.255 nmask=255.255.252.0
[2001/10/31 16:08:05, 2] lib/interface.c:(176)
Added interface ip=10.13.34.1 bcast=10.13.35.255 nmask=255.255.252.0
[2001/10/31 16:08:05, 0] lib/util_sock.c:(671)
bind failed on port 137 socket_addr=10.13.32.1 (Cannot assign requested addres
s)
[2001/10/31 16:08:05, 0] nmbd/nmbd_subnetdb.c:(135)
nmbd_subnetdb:make_subnet()
Failed to open nmb socket on interface 10.13.32.1 for port 137. Error was Can
not assign requested address
[2001/10/31 16:08:05, 0] nmbd/nmbd.c:(730)
ERROR: Failed when creating subnet lists. Exiting.
[2001/10/31 16:08:21, 1] nmbd/nmbd.c:(672)
Solaris netmasks and networks file:
10.13.32.1 255.255.252.0
10.13.33.1 255.255.252.0
10.13.34.1 255.255.252.0
10.19.0.0 255.255.0.0
199.20.97.0 255.255.255.0
loopback 127
njgs1 10.13.32
njgs2 10.13.33
njgs3 10.13.34
gis199 199.20.97
gis3 10.19.161
gis4 10.19.162
gis5 10.19.34
Thank you.
Sincerely;
Mark French
GIS Specialist
NJ Geological Survey
P.O. Box 427
29 Arctic Pkwy
Trenton, NJ 08625-0427
Ph: (609)984-6587
Fx: (609)633-1004
email: mfrench at dep.state.nj.us
NJGS Website: http://www.state.nj.us/dep/njgs
More information about the samba
mailing list