[Samba] (Newbie) Trying to get name resolution functional across the WAN

Claudio Lapidus clapidus at ta.telecom.com.ar
Fri Sep 6 23:53:00 GMT 2002


Hello all,

Sorry if this is not new for you, certainly it is for me.

I've setup Samba 2.2.3a on Redhat 7.3, right off the distribution's RPMs.
Somehow I managed to get it working, as seen from the local LAN where the
server sits, at building A. Problem is, all of my users are in building B,
10 miles across the city from the server room. This is a corporate
environment, mainly Windows and Netware, where building's LANs are composed
of Catalysts and routed to WAN links. I don't have control over this
environment.

Currently I'm only able to connect from my WinNT4 workstation to the shares
defined in Samba if I reference it by IP address. I was unable to get name
resolution working. Follows my findings so far (sorry for the message
wording, Windows is spanish language version).

IP trace from the NT box to the samba server:
C:\>tracert -d 10.77.93.18

Traza a 10.77.93.18 sobre caminos de 30 saltos como máximo.

  1   <10 ms   <10 ms   <10 ms  10.65.44.1
  2   <10 ms   <10 ms   <10 ms  192.168.8.201
  3   <10 ms   <10 ms   <10 ms  192.168.9.82
  4   <10 ms   <10 ms   <10 ms  10.77.93.18

Traza completa.

NT IP configuration (obtained from DHCP):
C:\>ipconfig /all

Configuración IP de Windows NT

        Nombre de host  . . . . . . . . : u185639_nt
        Servidores DNS  . . . . . . . . : 10.65.44.24
                                      10.66.7.16
                                      10.73.33.62
        Tipo de nodo  . . . . . . . . . : Híbrido
        Identif. de ámbito de NetBIOS . :
        Enrutamiento de IP activado . : No
        Proxy de WINS Proxy activado. . : No
        La resolución de NetBIOS usa DNS: No

Ethernet adaptador E100B1:

        Descripción   . . . . . . . . . : Intel(R) PRO PCI Adapter
        Dirección física  . . . . . . . : 00-D0-B7-4D-95-0A
        DHCP activado . . . . . . . . . : Sí
        Dirección IP  . . . . . . . . . : 10.68.44.238
        Máscara de subred . . . . . . . : 255.255.255.0
        Pta. enlace o gateway predet. . : 10.68.44.1
        Servidor DHCP . . . . . . . . . : 10.68.44.18
        Servidor principal WINS . . . . : 10.75.93.21
        Servidor secundario WINS  . . . : 10.65.44.25
        Concesión obtenida  . . . . . . : viernes 6 de septiembre de 2002
12:46:37
        Concesión caduca  . . . . . . . : jueves 12 de septiembre de 2002
12:46:37

Ethernet adaptador NdisWan4:

        Descripción   . . . . . . . . . : NdisWan Adapter
        Dirección física  . . . . . . . : 00-00-00-00-00-00
        DHCP activado . . . . . . . . . : No
        Dirección IP  . . . . . . . . . : 0.0.0.0
        Máscara de subred . . . . . . . : 0.0.0.0
        Pta. enlace o gateway predet. . :

C:\>

Note that in this network, the third octet denotes the building. So,
primary WINS server (10.75.93.21) is located in building A, the same as
Samba server, while secondary WINS server (10.65.44.25) is located in
building B, the same as my NT workstation (10.64.44.238).




Now to the server. Contents of smb.conf:
# Samba config file created using SWAT
# from 10.68.44.238 (10.68.44.238)
# Date: 2002/09/06 15:18:38

# Global parameters
[global]
        workgroup = EDRS
        server string = Servidor EDRS
        encrypt passwords = Yes
        log level = 2
        wins server = 10.75.93.21

[Publico]
        comment = Informacion de acceso publico EDRS
        path = /mnt/u01/pub

[homes]
        comment = Carpeta personal del usuario
        path = /mnt/u01/home/%u
        read only = No
        browseable = No




Back to the Windoze box: ASCII art recreation of the Folders panel of
Explorer (messages translated back to English, sorry if some doesn't match
the original ones):

Desktop
|
+-My PC
|
+-Internet Explorer
|
--Network Neighborhood
  |
  +-All Network
    |
    +-Netware Services
    |
    +-Microsoft Windows Network
    |
    +-Unknown
      |
      +-10.77.93.18



So here I'm stuck. I understood from the documentation that Samba would go
and register itself with the WINS server, and then that info would be
replicated down to the clients. Apparently this is not happening here. Can
anybody give some advice in diagnosing this?

TIA,
cl.





More information about the samba mailing list