Resolving DNS names to an IP in NT 4 domain
David W. Chapman Jr.
dwcjr at inethouston.net
Mon Mar 26 16:32:39 GMT 2001
Couldn't you do something like
nmblookup <hostname> | grep -v query | cut -d' ' -f 1
----- Original Message -----
From: "Tim Fletcher" <tim at parrswood.manchester.sch.uk>
To: "Erik Spigle" <spigle at hotmail.com>
Cc: <samba at us5.samba.org>
Sent: Monday, March 26, 2001 10:25 AM
Subject: Re: Resolving DNS names to an IP in NT 4 domain
> > I worked with a guy for a while on this, but we really got nowhere. We
> > messed with win hook settings in smb.conf, and a script he wrote. I've
left
> > it running a while, but still, no go. Are there some settings and
> > configurations I can tweak and work with in Samba to get this done? I
would
> > really like to get it going. I hope I've been fairly clear in what is
> > needed, and you understand it.
>
> I am the guy who wrote the script in question, what we were trying todo
> make standard resolve via /etc/nsswitch.conf work with wins. DNS works for
> internet hosts but http://windowsmachinename doesn't work as the machine
> name / dns arn't the same. Is there any way to make this work?
>
> --
> Tim Fletcher - Network manager .~.
> /V\ L I N U X
> nightshade at solanum.net // \\ >Don't fear the penguin<
> tim at parrswood.manchester.sch.uk /( )\
> irc: Night-Shade on openprojects ^^-^^
>
> "Courage will take you to the most dangerous places on Earth.
> Overwhelming firepower will see you safely through them."
> -Syndicate Wars
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
>
More information about the samba
mailing list