Problems with Samba 2.0.7, Solaris 8, and Windows 2K

Ray rjs at jump.net
Fri Mar 2 19:14:53 GMT 2001


I have a Solaris box and Windows 2K box connecte through a hub, along with a DSL
modem.

I cannot get the two boxes to work via Samba, here is the relevant details.

The status report from SWAT

   # Samba config file created using SWAT
   # from localhost (127.0.0.1)
   # Date: 2001/03/02 12:54:01

   # Global parameters
   [global]
           netbios name = MARISOL
           server string = Samba %v on (%L)
           interfaces = iprb0 192.168.0.3/255.255.255.0
           debug level = 3
           log file = /opt/sfw/var/log.%m
           max log size = 512
           load printers = No
           dns proxy = No
           hosts allow = 192.168. 127.

   [homes]
           comment = Home Directories
           writeable = Yes

   [printers]
           comment = All Printers
           path = /usr/spool/samba
           printable = Yes
           browseable = No

   [tmp]
           comment = Temporary file space
           path = /tmp
           writeable = Yes
           guest ok = Yes

   [public]
           comment = Store
           path = /opt/store
           write list = @staff
           writeable = Yes
           guest ok = Yes
           hosts allow = 192.168.0. 192.168.1. 192.168.2. localhost

The error log from nmbd

...


[2001/03/02 12:56:16, 2] lib/interface.c:add_interface(83)
  added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0
[2001/03/02 12:56:16, 0] lib/util_sock.c:open_socket_in(863)
  bind failed on port 137 socket_addr=192.168.0.3 (Cannot assign requested
address)
[2001/03/02 12:56:16, 0] nmbd/nmbd_subnetdb.c:make_subnet(142)
nmbd_subnetdb:make_subnet()
  Failed to open nmb socket on interface 192.168.0.3 for port 137.  Error was
Cannot assign requested addre
ss
[2001/03/02 12:56:16, 0] nmbd/nmbd.c:main(817)
  ERROR: Failed when creating subnet lists. Exiting.
[2001/03/02 12:56:17, 1] nmbd/nmbd.c:main(757)
  Netbios nameserver version 2.0.7 started.
  Copyright Andrew Tridgell 1994-1998
  doing parameter log file = /opt/sfw/var/log.%m
  doing parameter max log size = 512
  doing parameter load printers = No
  doing parameter dns proxy = No
  doing parameter hosts allow = 192.168. 127.
[2001/03/02 12:56:17, 3] param/loadparm.c:lp_load(2805)
  pm_process() returned Yes
[2001/03/02 12:56:17, 3] nmbd/nmbd.c:reload_services(289)
  services not loaded
[2001/03/02 12:56:17, 3] nmbd/nmbd.c:main(806)
  Opening sockets 137
[2001/03/02 12:56:17, 3] lib/util_sock.c:open_socket_in(875)
  bind succeeded on port 138
[2001/03/02 12:56:17, 3] nmbd/nmbd.c:open_sockets(520)
  open_sockets: Broadcast sockets opened.
[2001/03/02 12:56:17, 3] lib/util.c:interpret_addr(1758)
  Get_Hostbyname: Unknown host. iprb0
[2001/03/02 12:56:17, 2] lib/interface.c:interpret_interface(132)
  can't determine netmask for iprb0
[2001/03/02 12:56:17, 2] lib/interface.c:add_interface(83)
  added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0
[2001/03/02 12:56:17, 0] lib/util_sock.c:open_socket_in(863)
  bind failed on port 137 socket_addr=192.168.0.3 (Cannot assign requested
address)
[2001/03/02 12:56:17, 0] nmbd/nmbd_subnetdb.c:make_subnet(142)
nmbd_subnetdb:make_subnet()
  Failed to open nmb socket on interface 192.168.0.3 for port 137.  Error was
Cannot assign requested addre
ss
[2001/03/02 12:56:17, 0] nmbd/nmbd.c:main(817)
  ERROR: Failed when creating subnet lists. Exiting.


from /etc/services

...

netbios-ns      137/tcp                         # NETBIOS Name Service
netbios-ns      137/udp                         # NETBIOS Name Service
netbios-dgm     138/tcp                         # NETBIOS Datagram Service
netbios-dgm     138/udp                         # NETBIOS Datagram Service
netbios-ssn     139/tcp                         # NETBIOS Session Service
netbios-ssn     139/udp                         # NETBIOS Session Service

...

swat            901/tcp                         # Samba http://localhost:901


from /etc/inetd.conf

swat            stream  tcp             nowait  root    /opt/sfw/bin/swat
swat
netbios-ssn     stream  tcp             nowait  root    /opt/sfw/bin/smbd
smbd
netbios-ns      dgram   udp             wait    root    /opt/sfw/bin/nmbd
nmbd






More information about the samba mailing list