Can't see my server

Eduardo Diaz Uriarte ediazuri at wanadoo.es
Fri Jul 7 23:42:51 GMT 2000


I'm trying to get running an ethernet with two machines: a samba server running suse linux 6.4 and a client
running windows 98.

I follow the steps in the DIAGNOSIS.txt file, but I get stucked when executing 'net view \\SERVER' in the
client. I have laready done everything it says in that file:
1) Set a lmhost file in the client. Just with this line:
	192.168.0.1 ASTERIX  #Asterix is the server
2)configure the dns options in win98;
3)same for wins.

But it still doesn't work. 

Things don't like me are that I'm able to ping in both ways, but I'm not able to telnet or to ftp or to mount
the client disk on the server.

So, if anybody knows how could I fix this I would be very happy to know it.

Thanks.

Now I include the output messages when using 'tcpdump' in different situations as well as the output for
'testparm'.

-----'testparm' says:-----
  
Load smb config files from /etc/smb.conf
Processing section "[homes]"
Processing section "[tmp]"
Loaded services file OK.
Press enter to see a dump of your service definitions

# Global parameters
[global]
        workgroup = ARMORICA
        netbios name = ASTERIX
        netbios aliases =
        server string = Samba 2.0.6
        interfaces = 192.168.0.1/255.255.255.0
        bind interfaces only = No
        security = SHARE
        encrypt passwords = No
        update encrypted = No
        allow trusted domains = Yes
        hosts equiv =
        min passwd length = 5
        map to guest = Never
        null passwords = No
        password server =
        smb passwd file = /etc/smbpasswd
        root directory = /
        passwd program = /bin/passwd
        passwd chat = *new*password* %n\n *new*password* %n\n *changed*
        passwd chat debug = No
        username map =
        password level = 0
        username level = 0
        unix password sync = No
        restrict anonymous = No
        use rhosts = No
        log level = 2
        syslog = 1
        syslog only = No
        log file =
        max log size = 5000
        timestamp logs = Yes
        debug hires timestamp = No
        debug pid = No
        debug uid = No
        protocol = NT1
        read bmpx = No
        read raw = Yes
        write raw = Yes
        nt smb support = Yes
        nt pipe support = Yes
        nt acl support = Yes
        announce version = 4.2
        announce as = NT
        max mux = 50
        max xmit = 65535
        name resolve order = lmhosts host wins bcast
        max packet = 65535
        max ttl = 259200
        max wins ttl = 518400
        min wins ttl = 21600
        time server = No
        change notify timeout = 60
        deadtime = 0
        getwd cache = Yes
        keepalive = 30
        lpq cache time = 10
        max disk size = 0
        max open files = 10000
        read prediction = No
        read size = 16384
        shared mem size = 1048576
        socket options = TCP_NODELAY
        stat cache size = 50
        load printers = Yes
        printcap name = /etc/printcap
        printer driver file = /etc/printers.def
        strip dot = No
        character set =
        mangled stack = 50
        coding system =
        client code page = 850
        stat cache = Yes
        domain groups =
        domain admin group =
        domain guest group =
        domain admin users =
        domain guest users =
        machine password timeout = 604800
        add user script =
        delete user script =
        logon script =
        logon path = \\%N\%U\profile
        logon drive =
        logon home = \\%N\%U
        domain logons = No
        os level = 2
        lm announce = Auto
        lm interval = 60
        preferred master = No
        local master = Yes
        domain master = No
        browse list = Yes
        dns proxy = Yes
        wins proxy = No
        wins server =
        wins support = No
        wins hook =
        kernel oplocks = Yes
        ole locking compatibility = Yes
        oplock break wait time = 10
        smbrun = /usr/bin/smbrun
        config file =
        preload =
        lock dir = /var/lock/samba
        default service =
        message command =
        dfree command =
        valid chars =
        remote announce =
        remote browse sync =
        socket address = 0.0.0.0
        homedir map =
        time offset = 0
        unix realname = No
        NIS homedir = No
        panic action =
        comment =
        path =
        alternate permissions = No
        revalidate = No
        username =
        guest account = nobody
        invalid users =
        valid users =
        admin users =
        read list =
        write list =
        force user =
        force group =
        read only = Yes
        create mask = 0744
        force create mode = 00
        security mask = -1
        force security mode = -1
        directory mask = 0755
        force directory mode = 00
        directory security mask = -1
        force directory security mode = -1
        guest only = No
        guest ok = No
        only user = No
        hosts allow =
        hosts deny =
        status = Yes
        max connections = 0
        min print space = 0
        strict sync = No
        sync always = No
        print ok = No
        postscript = No
        printing = bsd
        print command = lpr -r -P%p %s
        lpq command = lpq -P%p
        lprm command = lprm -P%p %j
        lppause command =
        lpresume command =
        queuepause command =
        queueresume command =
        printer name =
        printer driver = NULL
        printer driver location =
        default case = lower
        case sensitive = No
        preserve case = Yes
        short preserve case = Yes
        mangle case = No
        mangling char = ~
        hide dot files = Yes
        delete veto files = No
        veto files =
        hide files =
        veto oplock files =
        map system = No
        map hidden = No
        map archive = Yes
        mangled names = Yes
        mangled map =
        browseable = Yes
        blocking locks = Yes
        fake oplocks = No
        locking = Yes
        oplocks = Yes
        level2 oplocks = No
        oplock contention limit = 2
        strict locking = No
        share modes = Yes
        copy =
        include =
        exec =
        preexec close = No
        postexec =
        root preexec =
        root preexec close = No
        root postexec =
        available = Yes
        volume =
        fstype = NTFS
        set directory = No
        wide links = Yes
        follow symlinks = Yes
        dont descend =
        magic script =
        magic output =
        delete readonly = No
        dos filetimes = No
        dos filetime resolution = No
        fake directory create times = No
 
[homes]
        comment = Homes
        read only = No
        create mask = 0750
        browseable = No
 
[tmp]
        comment = temporary files
        path = /tmp 



--------Using 'tcpdump' I got things like this:--------
-----when doing 'net view \\ASTERIX':-----
 02:02:28.312731 obelix.armorica.netbios-ns > 192.168.0.255.netbios-ns:
>>> NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST
TrnID=0x30
OpCode=0
NmFlags=0x11
Rcode=0
QueryCount=1
AnswerCount=0
AuthorityCount=0
AddressRecCount=0
QuestionRecords:
Name=ASTERIX         NameType=0x20 (Server)
QuestionType=0x20
QuestionClass=0x1


02:02:28.313436 asterix.armorica.netbios-ns > obelix.armorica.netbios-ns:
>>> NBT UDP PACKET(137): QUERY; POSITIVE; RESPONSE; UNICAST
TrnID=0x30
OpCode=0
NmFlags=0x58
Rcode=0
QueryCount=0
AnswerCount=1
AuthorityCount=0
AddressRecCount=0

ResourceRecords:
Name=ASTERIX         NameType=0x20 (Server)
ResType=0x20
ResClass=0x1
TTL=259200
ResourceLength=6
ResourceData=
AddrType=0x0
Address=192.168.0.1
 
 
02:02:28.314400 arp who-has asterix.armorica tell obelix.armorica
02:02:28.314480 arp reply asterix.armorica (0:c0:df:f0:4:78) is-at 0:c0:df:f0:4:78 (0:20:af:f8:18:60)
02:02:28.314828 obelix.armorica.iad3 > asterix.armorica.netbios-ssn: S 2203519:2203519(0) win 8192 <mss 1460,nop,nop,sackOK> (DF)
02:02:31.276085 obelix.armorica.iad3 > asterix.armorica.netbios-ssn: S 2203519:2203519(0) win 8192 <mss 1460,nop,nop,sackOK> (DF)
02:02:37.277635 obelix.armorica.iad3 > asterix.armorica.netbios-ssn: S 2203519:2203519(0) win 8192 <mss 1460,nop,nop,sackOK> (DF)
02:02:49.280748 obelix.armorica.iad3 > asterix.armorica.netbios-ssn: S 2203519:2203519(0) win 8192 <mss 1460,nop,nop,sackOK> (DF)
02:03:19.404663 obelix.armorica.netbios-dgm > 192.168.0.255.netbios-dgm:
>>> NBT UDP PACKET(138) Res=0x1102 ID=0x32 IP=192.168.0.2 Port=138 Length=203 Res2=0x0
SourceName=OBELIX          NameType=0x00 (Workstation)
DestName=ARMORICA        NameType=0x1D (Master Browser)
 
SMB PACKET: SMBtrans (REQUEST)
SMB Command   =  0x25
Error class   =  0x0
Error code    =  0
Flags1        =  0x0
Flags2        =  0x0
Tree ID       =  0
Proc ID       =  0
UID           =  0
MID           =  0
Word Count    =  17
TotParamCnt=0
TotDataCnt= 		


-----when telneting:-----
01:55:02.103908 arp who-has asterix.armorica tell obelix.armorica
01:55:02.104012 arp reply asterix.armorica (0:c0:df:f0:4:78) is-at 0:c0:df:f0:4:78 (0:20:af:f8:18:60)
01:55:02.104432 obelix.armorica.1028 > asterix.armorica.domain: 1+ A? asterix.ARMORICA. (34)
01:55:03.610978 obelix.armorica.1028 > asterix.armorica.domain: 1+ A? asterix.ARMORICA. (34)
01:55:06.117637 obelix.armorica.1028 > asterix.armorica.domain: 1+ A? asterix.ARMORICA. (34)
01:55:10.623726 obelix.armorica.1028 > asterix.armorica.domain: 1+ A? asterix.ARMORICA. (34)
01:55:12.933538 obelix.armorica.netbios-dgm > 192.168.0.255.netbios-dgm:
>>> NBT UDP PACKET(138) Res=0x1102 ID=0x2A IP=192.168.0.2 Port=138 Length=203 Res2=0x0
SourceName=OBELIX          NameType=0x00 (Workstation)
DestName=ARMORICA        NameType=0x1D (Master Browser)
SMB PACKET: SMBtrans (REQUEST)
SMB Command   =  0x25
Error class   =  0x0
Error code    =  0
Flags1        =  0x0
Flags2        =  0x0
Tree ID       =  0
Proc ID       =  0
UID           =  0
MID           =  0
Word Count    =  17
TotParamCnt=0
TotDataCnt=

01:55:19.247158 obelix.armorica.netbios-ns > 192.168.0.255.netbios-ns:
>>> NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST
TrnID=0x2C
OpCode=0
NmFlags=0x11
Rcode=0
QueryCount=1
AnswerCount=0
AuthorityCount=0
AddressRecCount=0
QuestionRecords:
Name=ASTERIX         NameType=0x00 (Workstation)
QuestionType=0x20
QuestionClass=0x1
 
01:55:19.247752 asterix.armorica.netbios-ns > obelix.armorica.netbios-ns:
>>> NBT UDP PACKET(137): QUERY; POSITIVE; RESPONSE; UNICAST
TrnID=0x2C
OpCode=0
NmFlags=0x58
Rcode=0
QueryCount=0
AnswerCount=1
AuthorityCount=0
AddressRecCount=0
ResourceRecords:
Name=ASTERIX         NameType=0x00 (Workstation)
ResType=0x20
ResClass=0x1
TTL=259200
ResourceLength=6
ResourceData=
AddrType=0x0
Address=192.168.0.1
 
01:55:19.251886 obelix.armorica.1029 > asterix.armorica.telnet: S 1774568:1774568(0) win 8192 <mss 1460,nop,nop,sackOK> (DF)
01:55:22.200253 obelix.armorica.1029 > asterix.armorica.telnet: S 1774568:1774568(0) win 8192 <mss 1460,nop,nop,sackOK> (DF)
01:55:24.244652 arp who-has obelix.armorica tell asterix.armorica (0:c0:df:f0:4:78)
01:55:24.245100 arp reply obelix.armorica is-at 0:20:af:f8:18:60 (0:c0:df:f0:4:78)
01:55:28.201837 obelix.armorica.1029 > asterix.armorica.telnet: S 1774568:1774568(0) win 8192 <mss 1460,nop,nop,sackOK> (DF)
01:55:40.204916 obelix.armorica.1029 > asterix.armorica.telnet: S 1774568:1774568(0) win 8192 <mss 1460,nop,nop,sackOK> (DF)


-----when ftping:-----
01:56:31.645332 obelix.armorica.iad1 > asterix.armorica.domain: 1+ A? ASTERIX.ARMORICA. (34)
01:56:33.149114 obelix.armorica.iad1 > asterix.armorica.domain: 1+ A? ASTERIX.ARMORICA. (34)
01:56:35.655788 obelix.armorica.iad1 > asterix.armorica.domain: 1+ A? ASTERIX.ARMORICA. (34)
01:56:40.166788 obelix.armorica.iad1 > asterix.armorica.domain: 1+ A? ASTERIX.ARMORICA. (34)
01:56:48.689415 obelix.armorica.iad2 > asterix.armorica.ftp: S 1863982:1863982(0) win 8192 <mss 1460,nop,nop,
sackOK> (DF)
01:56:51.653404 obelix.armorica.iad2 > asterix.armorica.ftp: S 1863982:1863982(0) win 8192 <mss 1460,nop,nop,
sackOK> (DF)
01:56:57.654924 obelix.armorica.iad2 > asterix.armorica.ftp: S 1863982:1863982(0) win 8192 <mss 1460,nop,nop,
sackOK> (DF)
01:57:09.658081 obelix.armorica.iad2 > asterix.armorica.ftp: S 1863982:1863982(0) win 8192 <mss 1460,nop,nop,
DestName=ARMORICA        NameType=0x1E (Browser Server)
 SMB PACKET: SMBtrans (REQUEST)
SMB Command   =  0x25
Error class   =  0x0
Error code    =  0
Flags1        =  0x0
Flags2        =  0x0
Tree ID       =  0
Proc ID       =  0
UID           =  0
MID           =  0
Word Count    =  17
TotParamCnt=0
TotDataCnt=
  
01:57:19.245505 asterix.armorica.netbios-dgm > 192.168.0.255.netbios-dgm:
>>> NBT UDP PACKET(138) Res=0x110A ID=0x5865 IP=192.168.0.1 Port=138 Length=208 Res2=0x0
SourceName=ASTERIX         NameType=0x00 (Workstation)
DestName=__MSBROWSE__ NameType=0x01 (Unknown)
 
SMB PACKET: SMBtrans (REQUEST)
SMB Command   =  0x25
Error class   =  0x0
Error code    =  0
Flags1        =  0x0
Flags2        =  0x0
Tree ID       =  0
Proc ID       =  0
UID           =  0
MID           =  0
Word Count    =  17
TotParamCnt=0
TotDataCnt=
                                                                                                             
01:58:19.276948 obelix.armorica.netbios-dgm > 192.168.0.255.netbios-dgm:
>>> NBT UDP PACKET(138) Res=0x1102 ID=0x2E IP=192.168.0.2 Port=138 Length=203 Res2=0x0
SourceName=OBELIX          NameType=0x00 (Workstation)
DestName=ARMORICA        NameType=0x1D (Master Browser)
 
SMB PACKET: SMBtrans (REQUEST)
SMB Command   =  0x25
Error class   =  0x0
Error code    =  0
Flags1        =  0x0
Flags2        =  0x0
Tree ID       =  0
Proc ID       =  0
UID           =  0
MID           =  0
Word Count    =  17
TotParamCnt=0
TotDataCnt= 

-----and when mounting:-----
% mount -t smbfs -o username=eduardo,password='' //obelix/windows /mnt
tree connect failed: ERRSRV - ERRinvnetname (Invalid network name in tree connect.)
SMB connection failed
mount: backgrounding "//obelix/windows"
root at asterix:/home/eduardo > tree connect failed: ERRSRV - ERRinvnetname (Invalid network name in tree connect.)
SMB connection failed 




More information about the samba mailing list