SMB/NMBD configuration troubles.
Brian Keats
bkeats at spiff.chin.gc.ca
Fri Feb 18 14:11:17 GMT 2000
On Fri, 18 Feb 2000, Brandon Stauber wrote:
> 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 at 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 at 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 at 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 at 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 at 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 at Lopez /etc]# nmblookup -B lopez '*'
> Sending queries to 127.0.0.1
> 127.0.0.1 *<00>
>
>
>
>
> TEST 6: nmblookup -d 2 '*'
> -------
> [root at 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 at 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)
>
>
>
>
Just a guess but maybe you might want to include an 'interfaces' parameter
in your global section ?
More information about the samba-ntdom
mailing list