**Fwd: Mapped drives but server invisible from clients

Alder ue191 at victoria.tc.ca
Sat Jul 20 06:26:49 GMT 2002


Sorry if my last post wasn't readable because of the digital signature. 
 It should be gone now.

I'm setting up Samba 2.0.6 on VMS 7.2 Alpha to share out files only (no 
printers) to two Windows clients on a peer-to-peer, 10base2 home LAN. 
 For the most part, things work pretty well, but I would like to iron 
out some wrinkles I'm running across with the smbclient tool and 
browsing shares from the clients.

The LAN hosts are named and addressed as follows:

SZEGED  [192.168.0.3] - Samba-VMS server
ISZKAZ   [192.168.0.2] - Windows 2000 (print server)
KIRALY [192.168.0.1] - Windows ME (Internet Connection Sharing server 
and LAN gateway to the Internet)

All hosts have a HOSTS file with entries for the other hosts on the LAN 
and the two Windows clients use NetBEUI for Windows file and print 
sharing.  The KIRALY machine, because it is the ICS server, has an 
internal ADSL modem which serves as a NAT router.  For that reason too, 
it has a second IP address dynamically allocated by my ISP.  I also run 
Nortel Networks VPN client on it so it has, from time-to-time, a third 
IP address.  KIRALY runs ZoneAlarm Free and has the entire LAN in its 
Local Zone, i.e. the range of addresses 192.168.0.1 - 192.168.0.255

; smb.conf
[global]
   workgroup = EREBUS
   server string = OpenVMS Samba 2.0.6
   encrypt passwords = yes
   security = user
   hosts allow = 192.168.0. localhost
[homes]
   comment = Home Directories
   browseable = no
   writable = yes


 From SZEGED I run the following smbclient query and get the 3 lines 
following that in response:
$ smbclient "-L" kiraly "-U" username%password

added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0
session request to KIRALY failed (Not listening on called name)
session request to *SMBSERVER failed (Called name not present)

But, if I run this:
$ smbclient "-L" kiraly "-I" 66.183.253.215 "-U" username%password

...the result is this:
added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0
 
        Sharename      Type      Comment
        ---------      ----      -------
        PRINTER$       Disk
        PDFWRITER      Printer
        STESSEN        Disk
        DS5            Disk
        FS2002         Disk
        TRANSFER       Disk
        F-PROT         Disk
        CD-ROM         Disk      CD-ROM drive on \\KIRALY
        GYM            Disk      Championship Results Database
        IPC$           IPC       Remote Inter Process Communication
 
        Server               Comment
        ---------            -------
 
        Workgroup            Master
        ---------            -------

$


So I guess I have two questions to start with.  Why does the first 
SMBCLIENT query fail to find the correct name, while the second query 
does, even though it not using the IP address specified for that name in 
the HOSTS file?

Second question is: Shouldn't I be seeing something under Server/Comment 
and Workgroup/Master?

Working from the Windows clients now, I run a simple NET VIEW and get a 
list of only two servers: KIRALY and ISZKAZ.  The Smaba server does not 
appear.  Running "NET VIEW \\SZEGED" I get "Error 53: The computer name 
specified in the network path cannot be located...."

Can anyone help sort out one or more of these problems ?  I'd appreciate it.

Thanks,
Alder





More information about the samba-vms mailing list