Cannot see any services on the network

Auteria Wally Winzer Jr. wally.winzer at ChampUSA.COM
Fri Mar 20 10:49:35 GMT 1998


Sorry for posting this long message, but I'm hoping someone can help me
through this issue:

I've compiled samba 1.9.18p3 on Solaris-2.5.1 using gcc-2.8.1.  It
compiled 100% clean.  I read through the smb.conf file as well as other
docs in order to setup the config file.  After setting up the config file
I ran the testparm command.  The test generated no errors.  At that point
I started smbd and nmbd through an rc script that I totally rewrote.
The daemons started fine until I tried to go into Network Neighborhood
within my Windows95 laptop.  There's a combination of WinNT and 95
within this infrastructure.  When I clicked the "Entire Network" icon I
thought I should have seen the workgroup name or the machine name of
the Samba server.  I named the workgroup "ChampUSA" and server name
"ChampUSA.COM".  I did not see anything relating to samba working
properly.  I decided to set the debug level to 3 and viewed the log.nmb
and log.smb files.  Here's the output for both files.

First, nmb.conf:

03/20/1998 02:23:00 netbios nameserver version 1.9.18p3 started
Copyright Andrew Tridgell 1994-1997
doing parameter log file = /usr/local/samba/var/log.%m
doing parameter mangle case = yes
doing parameter mangled names = yes
doing parameter oplocks = True
doing parameter postscript = True
doing parameter preserve case = yes
doing parameter printcap name = lpstat
doing parameter read prediction = yes
doing parameter read raw = no
doing parameter security = user
doing parameter server string = ChampUSA.COM
doing parameter share modes = yes
doing parameter short preserve case = yes
doing parameter socket options = TCP_NODELAY
doing parameter status = yes
doing parameter strict locking = yes
doing parameter time server = yes
doing parameter username map = /usr/local/samba/lib/users.map
doing parameter workgroup = ChampUSA
doing parameter write raw = no
pm_process() returned Yes
adding IPC service
services not loaded
03/20/1998 02:23:00 becoming a daemon
Opening sockets 137
bind succeeded on port 137
bind succeeded on port 138
open_sockets: Broadcast sockets opened.
Added interface ip=207.21.123.4 bcast=207.21.123.255 nmask=255.255.255.0
bind succeeded on port 137
bind succeeded on port 138
making subnet name:207.21.123.4 Broadcast address:207.21.123.255 Subnet mask:255

.255.255.0
making subnet name:UNICAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0
making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0 Subnet mask

:0.0.0.0
load_lmhosts_file: Can't open lmhosts file /usr/local/samba/lib/lmhosts. Error w

as No such file or directory
Loaded hosts file
add_name_to_subnet: Added netbios name *<00> with first IP 207.21.123.4 ttl=0 nb

_flags= 0 to subnet 207.21.123.4
add_name_to_subnet: Added netbios name *<20> with first IP 207.21.123.4 ttl=0 nb

_flags= 0 to subnet 207.21.123.4
add_name_to_subnet: Added netbios name __SAMBA__<20> with first IP 207.21.123.4
ttl=0 nb_flags= 0 to subnet 207.21.123.4
add_name_to_subnet: Added netbios name __SAMBA__<00> with first IP 207.21.123.4
ttl=0 nb_flags= 0 to subnet 207.21.123.4
create_server_on_workgroup: Created server entry SUN-E3000 of type 40019a23 (Cha

mpUSA.COM) on workgroup CHAMPUSA.
initiate_myworkgroup_startup: Added server name entry SUN-E3000 on subnet 207.21

.123.4
add_name_to_subnet: Added netbios name *<00> with first IP 207.21.123.4 ttl=0 nb

_flags= 0 to subnet UNICAST_SUBNET
add_name_to_subnet: Added netbios name *<20> with first IP 207.21.123.4 ttl=0 nb

_flags= 0 to subnet UNICAST_SUBNET
add_name_to_subnet: Added netbios name __SAMBA__<20> with first IP 207.21.123.4
ttl=0 nb_flags= 0 to subnet UNICAST_SUBNET
add_name_to_subnet: Added netbios name __SAMBA__<00> with first IP 207.21.123.4
ttl=0 nb_flags= 0 to subnet UNICAST_SUBNET
add_name_to_subnet: Added netbios name SUN-E3000<20> with first IP 207.21.123.4
ttl=0 nb_flags= 0 to subnet UNICAST_SUBNET
add_name_to_subnet: Added netbios name SUN-E3000<03> with first IP 207.21.123.4
ttl=0 nb_flags= 0 to subnet UNICAST_SUBNET
add_name_to_subnet: Added netbios name SUN-E3000<00> with first IP 207.21.123.4
ttl=0 nb_flags= 0 to subnet UNICAST_SUBNET
send_host_announcement: type 19a23 for host SUN-E3000 on subnet 207.21.123.4 for

 workgroup CHAMPUSA
add_name_to_subnet: Added netbios name SUN-E3000<20> with first IP 207.21.123.4
ttl=14400 nb_flags= 0 to subnet 207.21.123.4
add_name_to_subnet: Added netbios name SUN-E3000<03> with first IP 207.21.123.4
ttl=14400 nb_flags= 0 to subnet 207.21.123.4
add_name_to_subnet: Added netbios name SUN-E3000<00> with first IP 207.21.123.4
ttl=14400 nb_flags= 0 to subnet 207.21.123.4
add_name_to_subnet: Added netbios name CHAMPUSA<00> with first IP 207.21.123.4 t

tl=14400 nb_flags=80 to subnet 207.21.123.4
add_name_to_subnet: Added netbios name CHAMPUSA<1e> with first IP 207.21.123.4 t

tl=14400 nb_flags=80 to subnet 207.21.123.4
write_browse_list: Wrote browse list into file /usr/local/samba/var/locks/browse

.dat
process_name_query_request: Name query from 207.21.123.42 on subnet 207.21.123.4

 for name WORKSTATION_46<20>
send_host_announcement: type 19a23 for host SUN-E3000 on subnet 207.21.123.4 for

 workgroup CHAMPUSA
process_local_master_announce: from WORKSTATION_46<00> IP 207.21.123.46 to CHAMP

USA<1e> for server WORKSTATION_46.
create_server_on_workgroup: Created server entry WORKSTATION_46 of type 40071003

 () on workgroup CHAMPUSA.
write_browse_list: Wrote browse list into file /usr/local/samba/var/locks/browse

.dat
send_host_announcement: type 19a23 for host SUN-E3000 on subnet 207.21.123.4 for

 workgroup CHAMPUSA
check_for_master_browser_success: Local master browser for workgroup CHAMPUSA ex

ists at IP 207.21.123.46 (just checking).
send_host_announcement: type 19a23 for host SUN-E3000 on subnet 207.21.123.4 for

 workgroup CHAMPUSA
process_name_query_request: Name query from 207.21.123.46 on subnet 207.21.123.4

 for name CHAMPUSA<1b>
process_name_query_request: Name query from 207.21.123.46 on subnet 207.21.123.4

 for name CHAMPUSA<1b>
process_name_query_request: Name query from 207.21.123.46 on subnet 207.21.123.4

 for name CHAMPUSA<1b>
process_name_query_request: Name query from 207.21.123.46 on subnet 207.21.123.4

 for name CHAMPUSA<1b>
process_name_query_request: Name query from 207.21.123.46 on subnet 207.21.123.4

 for name CHAMPUSA<1c>
process_logon_packet: Logon packet received from IP 207.21.123.46 and domain log

ons are not enabled.
process_name_query_request: Name query from 207.21.123.46 on subnet 207.21.123.4

 for name CHAMPUSA<1c>
process_name_query_request: Name query from 207.21.123.46 on subnet 207.21.123.4

 for name CHAMPUSA<1b>
process_name_query_request: Name query from 207.21.123.46 on subnet 207.21.123.4

 for name CHAMPUSA<1b>
process_name_query_request: Name query from 207.21.123.46 on subnet 207.21.123.4

 for name CHAMPUSA<1c>
process_name_query_request: Name query from 207.21.123.46 on subnet 207.21.123.4

 for name CHAMPUSA<1b>
process_name_query_request: Name query from 207.21.123.46 on subnet 207.21.123.4

 for name CHAMPUSA<1c>
process_logon_packet: Logon packet received from IP 207.21.123.46 and domain log

ons are not enabled.
process_name_query_request: Name query from 207.21.123.46 on subnet 207.21.123.4

 for name CHAMPUSA<1c>
process_name_query_request: Name query from 207.21.123.46 on subnet 207.21.123.4

 for name CHAMPUSA<1b>
process_name_query_request: Name query from 207.21.123.46 on subnet 207.21.123.4

 for name CHAMPUSA<1b>
process_name_query_request: Name query from 207.21.123.46 on subnet 207.21.123.4

 for name CHAMPUSA<1c>
process_name_query_request: Name query from 207.21.123.43 on subnet 207.21.123.4

 for name WORKSTATION_46<20>
check_for_master_browser_success: Local master browser for workgroup CHAMPUSA ex

ists at IP 207.21.123.46 (just checking).
send_host_announcement: type 19a23 for host SUN-E3000 on subnet 207.21.123.4 for

 workgroup CHAMPUSA
process_name_query_request: Name query from 207.21.123.42 on subnet 207.21.123.4

 for name WORKSTATION_46<20>

This is the output for log.smb:

Processing section "[homes]"
Processing section "[printers]"
Processing section "[tmp]"
Processing section "[staff]"
Processing section "[champusa]"
Added interface ip=207.21.123.4 bcast=207.21.123.255 nmask=255.255.255.0
waiting for a connection
Closing connections
doing parameter log file = /usr/local/samba/var/log.%m
doing parameter mangle case = yes
doing parameter mangled names = yes
doing parameter oplocks = True
doing parameter postscript = True
doing parameter preserve case = yes
doing parameter printcap name = lpstat
doing parameter read prediction = yes
doing parameter read raw = no
doing parameter security = user
doing parameter server string = ChampUSA.COM
doing parameter share modes = yes
doing parameter short preserve case = yes
doing parameter socket options = TCP_NODELAY
doing parameter status = yes
doing parameter strict locking = yes
doing parameter time server = yes
doing parameter username map = /usr/local/samba/lib/users.map
doing parameter workgroup = ChampUSA
doing parameter write raw = no
Processing section "[homes]"
doing parameter browseable = no
doing parameter guest ok = no
doing parameter read only = no
doing parameter create mask = 0755
Processing section "[printers]"
doing parameter comment = Computer Room Printer
doing parameter browseable = no
doing parameter guest ok = no
doing parameter path = /usr/local/samba/var/spool/public
doing parameter read only = no
doing parameter print ok = yes
Processing section "[tmp]"
doing parameter comment = Temporary File Space
doing parameter path = /tmp
doing parameter read only = no
doing parameter public = yes
Processing section "[staff]"
doing parameter comment = ChampUSA Employee Directory
doing parameter path = /export/home0
doing parameter public = yes
doing parameter writable = yes
doing parameter printable = no
doing parameter write list = @champusa
Processing section "[champusa]"
doing parameter comment = ChampUSA SysAdmin Directory
doing parameter path = /export/home1
doing parameter public = yes
doing parameter writable = yes
doing parameter printable = no
doing parameter write list = wwinzer, mvz, @sysadmin
pm_process() returned Yes
adding printer service okips1
adding IPC service
Added interface ip=207.21.123.4 bcast=207.21.123.255 nmask=255.255.255.0
03/20/1998 02:23:00 loaded services
03/20/1998 02:23:00 becoming a daemon
bind succeeded on port 139
waiting for a connection

Everything looks okay with the exception of it could not locate the
"/usr/local/samba/lib/lmhosts" file.

What's the actual syntax for testing the printer with the "smbclient" command?
The printername is okips1.
(BTW, I typed testprns okips1.  The output is the following:)

Looking for printer okips1 in printcap file lpstat
Printer name okips1 is valid.

So it looks like the print setup is fine.

My smb.conf file is the following:

[global]
        case sensitive = no
        config file = /usr/local/samba/lib/smb.conf.%m
        default case = lower
        encrypt passwords = yes
        getwd cache = yes
        hosts allow = 207.21.123.0/255.255.255.0 199.108.14.0/255.255.255.0 \
                      153.34.197.0/255.255.255.0
        keepalive = 30
        load printers = yes
        lock directory = /usr/local/samba/var/locks
        locking = yes
        log level = 3
        log file = /usr/local/samba/var/log.%m
        mangle case = yes
        mangled names = yes
        oplocks = True
        postscript = True
        preserve case = yes
        printcap name = lpstat
        read prediction = yes
        read raw = no
        security = user
        server string = ChampUSA.COM
        share modes = yes
        short preserve case = yes
        socket options = TCP_NODELAY
        status = yes
        strict locking = yes
        time server = yes
        username map = /usr/local/samba/lib/users.map
        workgroup = ChampUSA
        write raw = no

[homes]
        browseable = no
        guest ok = no
        read only = no
        create mask = 0755

[printers]
        comment = Computer Room Printer
        browseable = no
        guest ok = no
        path = /usr/local/samba/var/spool/public
        read only = no
        print ok = yes

[tmp]
        comment = Temporary File Space
        path = /tmp
        read only = no
        public = yes

[staff]
        comment = ChampUSA Employee Directory
        path = /export/home0
        public = yes
        writable = yes
        printable = no
        write list = @champusa

[champusa]
        comment = ChampUSA SysAdmin Directory
        path = /export/home1
        public = yes
        writable = yes
        printable = no
        write list = wwinzer, mvz, @sysadmin

Any help will be greatly appreciated.  TIA.

Once again sorry for the lengthly posting, but I wanted to
give as much information as possible.

- Wally Winzer Jr.
Sr. UNIX Systems/Network Administrator
Champion Nutrition
2615 Stanwell Drive
Concord, CA. 94520
email address: wally.winzer at ChampUSA.COM



More information about the samba mailing list