[Samba] nmblookup failing
Jeff Howard
jeffh at email.unc.edu
Wed Nov 10 19:53:27 GMT 2004
Hi,
I can't get "net view \\<servername>" to work from my Windows test
client.
It fails with "The network path was not found". I followed
some of the online debugging guides and have found that a
couple of the test nmblookups on the server are failing.
The server is named 'fileserver1' and its IP address is
155.2.196.251 for the purpose of this email. Here's some test
results and my smb.conf follows. Thanks in advance for the help!
* nslookup and ping work in both directions
* #smbclient //fileserver/test -U<user>
Password:
Domain=[OUR_ADM] OS=[Unix] Server=[Samba 3.0.8]
smb: \> --> I can browse the share
* #nmblookup -B fileserver1 __SAMBA__
added interface ip=155.2.196.251 bcast=152.2.255.255 nmask=255.255.0.0
querying __SAMBA__ on 127.0.0.1
Got a positive name query response from 127.0.0.1 ( 155.2.196.251 )
155.2.196.251 __SAMBA__<00>
* #nmblookup -B our219.our.xxx.com '*'
added interface ip=155.2.196.251 bcast=155.2.255.255 nmask=255.255.0.0
querying * on 155.2.196.219
Got a positive name query response from 155.2.196.219 ( 155.2.196.219 )
155.2.196.219 *<00> --> this is a test client and it found the
IP address correctly
* #nmblookup -d 2 '*'
added interface ip=155.2.196.251 bcast=152.2.255.255 nmask=255.255.0.0
querying * on 155.2.255.255
name_query failed to find name * --> problem?
* # nmblookup -M //fileserver1
added interface ip=152.2.196.251 bcast=152.2.255.255 nmask=255.255.0.0
querying //fileserver1 on 152.2.255.255
name_query failed to find name //fileserver1#1d --> definitely
seems like a problem
lmhosts file looks like:
127.0.0.1 localhost
155.2.196.219 our219.our.xxx.com --> client
155.2.196.251 fileserver1 --> server
smb.conf file:
# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2004/11/10 11:19:12
# Global parameters
[global]
net bios name = fileserver1
workgroup = OUR_ADM
server string = OUR Department Fileserver
security = SHARE
log level = 2
log file = /var/log/samba/%m.log
max log size = 50
;name resolve order = lmhosts hosts wins bcast
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = /etc/printcap
dns proxy = No
;wins proxy = Yes
;wins server = 155.2.247.14, 155.2.247.15
domain master = yes
local master = yes
preferred master = yes
os level = 65
[homes]
comment = Home Directories
read only = No
browseable = yes
[test]
comment = for testing share level permissions
path = /data/testarea
read only = No
browseable = yes
More information about the samba
mailing list