I have a samba server which works great in its subnet, but isn't visible to
windows machines in other subnets.  It is samba 2.2.1a running on a RedHat 7.1
box.  any ideas?
Here is a copy of smb.conf(atleast the important part)
[global]
        workgroup = PRINT
        netbios name = PRINT
        netbios aliases = print
        server string = Print Server [%v]
        encrypt passwords = Yes
        restrict anonymous = Yes
        domain logons = Yes
        os level = 100
        preferred master = yes
        domain master = Yes
        wins server = 130.18.17.40
        hosts allow = 130.18.196. 130.18.197. 130.18.216. 130.18.217.
        hosts deny = 130.
        printing = lprng
        print command = /usr/bin/lpr  -P%p -r %s
        lpq command = /usr/bin/lpq  -P%p
        lprm command = /usr/bin/lprm -P%p %j
        lppause command = /usr/sbin/lpc hold %p %j
        lpresume command = /usr/sbin/lpc release %p %j
        queuepause command = /usr/sbin/lpc  -P%p stop
        queueresume command = /usr/sbin/lpc -P%p start
        share modes = No
        log level = 5
        remote announce = 130.18.217./PRINT 130.18.216./PRINT 130.18.196./PRINT
130.18.197./PRINT
Thanks
Russ Ward
-------------- next part --------------
HTML attachment scrubbed and removed
1. I have a samba server which works great in its subnet, but isn't visible
to windows machines in other subnets.  It is samba 2.2.1a running on a
RedHat 7.1 box.  any ideas? 
2. Also I upgraded from samba 2.0.7 to 2.2.1a and lost logging.  I have
increased the logging level without a fix.
I would appreciate any help you would be able to give.
Here is a copy of smb.conf(atleast the important part)
[global]
        workgroup = PRINT
        netbios name = PRINT
        netbios aliases = print
        server string = Print Server [%v]
        encrypt passwords = Yes
        restrict anonymous = Yes
        domain logons = Yes
        os level = 100
        preferred master = yes
        domain master = Yes
        wins server = 130.18.17.40
        hosts allow = 130.18.196. 130.18.197. 130.18.216. 130.18.217.
        hosts deny = 130.
        printing = lprng
        print command = /usr/bin/lpr  -P%p -r %s
        lpq command = /usr/bin/lpq  -P%p
        lprm command = /usr/bin/lprm -P%p %j
        lppause command = /usr/sbin/lpc hold %p %j
        lpresume command = /usr/sbin/lpc release %p %j
        queuepause command = /usr/sbin/lpc  -P%p stop
        queueresume command = /usr/sbin/lpc -P%p start
        share modes = No
        log level = 5
        remote announce = 130.18.217./PRINT 130.18.216./PRINT
130.18.196./PRINT 130.18.197./PRINT
Thanks
Russ Ward
-------------- next part --------------
HTML attachment scrubbed and removed
The logs are in /usr/local/samba/var or some such Joel> 2. Also I upgraded from samba 2.0.7 to 2.2.1a and lost logging. I have > increased the logging level without a fix.
Arnold Andrews X-324-4292
2001-Sep-17  15:03 UTC
Samba server not being seen on other subnets.
> 1. I have a samba server which works great in its subnet, but isn't visible > to windows machines in other subnets. It is samba 2.2.1a running on a > RedHat 7.1 box. any ideas?You need to use WINS whenever you cross a subnet. See the documentation below. (Clipped from Samba HOWTO-Collection http://your_samba_server:901/swat/help/Samba-HOWTO-Collection.html#AEN341 ) ------------- Begin Included Message ------------- 2.3.5. WINS Lookup A WINS (Windows Internet Name Server) service is the equivaent of the rfc1001/1002 specified NBNS (NetBIOS Name Server). A WINS server stores the names and IP addresses that are registered by a Windows client if the TCP/IP setup has been given at least one WINS Server IP Address. To configure Samba to be a WINS server the following parameter needs to be added to the smb.conf file: wins support = Yes To configure Samba to use a WINS server the following parameters are needed in the smb.conf file: wins support = No wins server = xxx.xxx.xxx.xxx where xxx.xxx.xxx.xxx is the IP address of the WINS server. e WINS server. ------------- End Included Message -------------