Brandon --
Just for fun, try this minimal smb.conf and see whether test 4 still fails:
workgroup=<same as win client>
netbios name=<host name of server>
encrypt passwd=<no for early w95 and wfw, yes otherwise>
[tmp]
path = /tmp
If the error remains the same, you have much fewer variables to consider.
If the error goes away or changes, you can exploit the differences.
Steve Litt
At 03:24 AM 02/18/2000 +1100, Brandon Stauber wrote:>Folks,
>
>I am stumped!
>
>I have followed every tech tip I could find and I am still
>unable to complete my SMB installation. Specifically, I fail
>Test 4 and Tests 9 and 10. I believe the problem has
>something to do with the NMBD configuration. Below are the
>parameters of our system.
>
>Any help is greatly appreciated.
>
>Brandon Stauber
>brandon@inetevents.com
>310-889-9264
>
>
>[Please respond directly to brandon@inetevents.com. Thanks.]
>
>
>
>System Details
>--------------
>
>LOPEZ = RH Linux 6.1 192.168.254.15
>HAVANA = NT Domain 192.168.254.0/24
>PUNCH = NT PDC 192.168.254.3
>
>smb startup
>-----------
>As standalone daemon using rc.local running the following
>script:
>
>#!/bin/sh
>/usr/sbin/smbd -D
>/usr/sbin/nmbd -H /etc/lmhosts -D
>
>
>
>smb.conf file:
>--------------
>
># Samba config file created using SWAT
> # from cohiba (192.168.254.11)
> # Date: 2000/02/16 18:12:14
>
> # Global parameters
> [global]
> workgroup = HAVANA
> netbios name = LOPEZ
> password server = PUNCH
> log file = /var/log/samba/log.%m
> max log size = 50
> wins server = 192.168.254.3
>
> [homes]
> comment = Home Directories
> read only = No
> browseable = No
>
> [netlogin]
> comment = Network Login Service
> path = /home/netlogin
> guest ok = Yes
> share modes = No
>
> [brandon]
> comment = Brandon Stauber's Share
> path = /home/brandon
> valid users = brandon administrator root
> read only = No
>
> [printers]
> comment = All Printers
> path = /var/spool/samba
> print ok = Yes
> browseable = No
>
> [public]
> comment = Public Share
> path = /tmp
> read only = No
> guest ok = Yes
>
>lmhosts file
>------------
>
>127.0.0.1 localhost
>192.168.254.3 punch
>..
>192.168.254.15 lopez
>..
>
>
>
>TEST 1: testparm smb.conf
>-------
>
>[root@Lopez /etc]# testparm smb.conf
>Load smb config files from smb.conf
>Processing section "[homes]"
>Processing section "[netlogin]"
>Processing section "[brandon]"
>Processing section "[printers]"
>Processing section "[public]"
>Loaded services file OK.
>Press enter to see a dump of your service definitions
>
>
>
>TEST 2: ping
>-------
>
>[root@Lopez /etc]# ping 192.168.254.11
>PING 192.168.254.11 (192.168.254.11) from 192.168.254.15 :
>56(84) bytes of data.64 bytes from 192.168.254.11: icmp_seq=0
>ttl=255 time=1.5 ms
>64 bytes from 192.168.254.11: icmp_seq=1 ttl=255 time=1.3 ms
>64 bytes from 192.168.254.11: icmp_seq=2 ttl=255 time=1.2 ms
>
>
>[root@cohiba /etc]# ping 192.168.254.15
>PING 192.168.254.15 (192.168.254.15) from 192.168.254.11 :
>56(84) bytes of data.64 bytes from 192.168.254.15: icmp_seq=0
>ttl=255 time=0.9 ms
>64 bytes from 192.168.254.15: icmp_seq=1 ttl=255 time=0.9 ms
>64 bytes from 192.168.254.15: icmp_seq=2 ttl=255 time=0.9 ms
>
>
>
>TEST 3: smbclient -L lopez
>-------
>
>[root@Lopez /etc]# smbclient -L lopez
>Added interface ip=127.0.0.1 bcast=127.255.255.255
>nmask=255.0.0.0
>Password:
>Domain=[HAVANA] OS=[Unix] Server=[Samba 2.0.5a]
>
> Sharename Type Comment
> --------- ---- -------
> netlogin Disk Network Login Service
> brandon Disk Brandon Stauber's Share
> public Disk Public Share
> IPC$ IPC IPC Service (Samba 2.0.5a)
>
> Server Comment
> --------- -------
> LOPEZ Samba 2.0.5a
>
> Workgroup Master
> --------- -------
> HAVANA
>
>
>
>TEST 4: nmblookup -B lopez _SAMBA_
>-------
>
>[root@Lopez /etc]# nmblookup -B lopez _SAMBA_
>Sending queries to 127.0.0.1
>name_query failed to find name _SAMBA_
>
>
>
>
>TEST 5: nmblookup -B lopez '*'
>-------
>[root@Lopez /etc]# nmblookup -B lopez '*'
>Sending queries to 127.0.0.1
>127.0.0.1 *<00>
>
>
>
>
>TEST 6: nmblookup -d 2 '*'
>-------
>[root@Lopez /etc]# nmblookup -d 2 '*'
>Added interface ip=127.0.0.1 bcast=127.255.255.255
>nmask=255.0.0.0
>Sending queries to 127.255.255.255
>Got a positive name query response from 127.0.0.1 ( 127.0.0.1
>)
>127.0.0.1 *<00>
>
>
>TEST 7: smbclient //lopez/brandon
>-------
>[root@Lopez /etc]# smbclient //lopez/brandon
>Added interface ip=127.0.0.1 bcast=127.255.255.255
>nmask=255.0.0.0
>Password:
>Domain=[HAVANA] OS=[Unix] Server=[Samba 2.0.5a]
>smb: \>
>
>
>
>TEST 8: net view \\lopez
>-------
>
>>net view \\lopez
>
>System error 53 has occured
>
>The network path was not found
>
>
>TEST 9: net use x: \\lopez\brandon
>-------
>
>>net use x: \\lopez\brandon
>
>System error 53 has occured
>smbtest
>The network path was not found
>
>
>
>TEST 10:
>--------
>
>File manager = FAILED (see above)
>
>
>
>