Problems with nmblookup

John Rooke john.rooke at lpsystems.com
Mon Oct 4 09:45:16 GMT 1999


I have noticed this broadcast too. I thought the default was to look at the
hosts table.

I attach my smb.conf to see if anyone can see what is wrong. I have set wins
support and dns proxy and it still seems to insist on a broadcast to resolve
netbios names. I have even tried it with the name resolve order = lmhosts
host wins bcast and this makes no difference!

What is wrong with it?

John.

martin-n.huber at ubs.com wrote:

> Are you sure, that your
>         nmblookup -d20 john
> does a wins query?
> It seems it does a broadcast. We have a NT-based WINS server
> in another subnet than the samba box, and I had to:
>         nmblookup -R -U wins-address hostname
> in order to do a wins query. That is with v2.0.5a.
> Perhaps you could try that to debug the wins entry.
>
> A possible workaround could be to "enable DNS for Windows resolution"
> on the WinNT-boxes (control panel - network - protocols - tcp/ip - wins)
> in order to lookup the netbios-names in the DNS as well.
>
> Martin
>
> --------------------------------------------------------------------
>     _/_/_/  _/_/_/  _/_/_/   UBS AG
>    _/  _/  _/      _/        Martin Huber
>   _/_/_/  _/_/_/  _/         Hochstrasse 16 / 4150
>  _/  _/  _/      _/          CH-4002 Basel
> _/  _/  _/_/_/  _/_/_/
>                              Phone: +41 61 288 9478, FAX: ++ 1710
> Advanced Engineering Center  mailto:Martin-N.Huber at ubs.com
> --------------------------------------------------------------------
>
> > -----Original Message-----
> > From: john.rooke [mailto:john.rooke at lpsystems.com]
> > Sent: Donnerstag, 30. September 1999 11:42
> > To: samba-ntdom
> > Subject: FW: UNAUTHENTICATED: Problems with nmblookup
> >
> >
> > Hi all,
> >
> > I've nearly got everything working here with our SuSE Linux 6.0 based
> > samba 2.1-prealpha PDC and NTW4.0 network. The only remaining
> > problem is
> > I can't connect to shares on a NTW4.0 PC called john. All
> > other PC's on
> > the network are OK.
> >
> > I have traced this down to a problem with WINS in that if I do a
> > nmblookup -d20 john I get the output below.
> >
> > I have wins support = Yes and dns proxy = Yes in smb.conf and can ping
> > john OK from the Linux server. It seems to be something to do with
> > NetBios names.
> >
> > Any suggestions as to how I can fix this would be appreciated.
> >
> > Thanks,
> >
> > John.
> >
> > doing parameter dns proxy = Yes
> > pm_process() returned Yes
> > lp_servicenumber: couldn't find homes
> > Added interface ip=10.1.1.13 bcast=10.1.1.255 nmask=255.255.255.0
> > bind succeeded on port 0
> > Socket opened.
> > Sending queries to 10.1.1.255
> > nmb packet from 10.1.1.255(137) header: id=7487 opcode=Query(0)
> > response=No
> >     header: flags: bcast=Yes rec_avail=No rec_des=Yes trunc=No auth=No
> >     header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=0
> >     question: q_name=JOHN<00> q_type=32 q_class=1
> > Sending a packet of len 50 to (10.1.1.255) on port 137
> > nmb packet from 10.1.1.255(137) header: id=7487 opcode=Query(0)
> > response=No
> >     header: flags: bcast=Yes rec_avail=No rec_des=Yes trunc=No auth=No
> >     header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=0
> >     question: q_name=JOHN<00> q_type=32 q_class=1
> > Sending a packet of len 50 to (10.1.1.255) on port 137
> > nmb packet from 10.1.1.255(137) header: id=7487 opcode=Query(0)
> > response=No
> >     header: flags: bcast=Yes rec_avail=No rec_des=Yes trunc=No auth=No
> >     header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=0
> >     question: q_name=JOHN<00> q_type=32 q_class=1
> > Sending a packet of len 50 to (10.1.1.255) on port 137
> > name_query failed to find name john
> >
> >

--
John Rooke
Director
L&P Systems Limited
john.rooke at lpsystems.com

-------------- next part --------------
# Samba config file created using SWAT
# from mars.lpsystems.com (10.1.1.8)
# Date: 1999/09/01 17:41:23

# Global parameters
[global]
	workgroup = LPSYSTEMS
	netbios name = SATURN
	server string = Linux PDC
	interfaces = 10.1.1.13/255.255.255.0
	encrypt passwords = Yes
	passwd program = /usr/bin/passwd %u
	passwd chat = *New*password* %n\n *new*password* %n\n *changed*
	passwd chat debug = Yes
	unix password sync = Yes
	announce version = 4.0
	keepalive = 30
	socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192

	domain group map = /usr/local/samba/lib/domaingroup.map
	local group map = /usr/local/samba/lib/localgroup.map
	domain user map = /usr/local/samba/lib/domainuser.map

	logon script = systems.bat
	logon path = \\%L\profiles\%U
	domain logons = Yes
	os level = 100
	preferred master = Yes
	domain master = Yes
#	remote announce = 10.1.1.255
	admin users = root, john, neil
	hosts allow = 10.1.1. 127.
	hosts deny = ALL

	wins support = Yes
	dns proxy = Yes

[netlogon]
	path = /home/netlogon
	locking = No
	share modes = No
	writeable = Yes

[profiles]
	path = /home/profiles
	read only = No
	guest ok = Yes
	browseable = Yes

[printers]
	comment = All Printers
	path = /tmp
	create mask = 0700
	print ok = Yes
	browseable = No


More information about the samba-ntdom mailing list