Thank You! This is exactly what I will need in order to rebuild a good host file! I am still interested in other ways to do this w/o the need to rebuild a host file though.
Thanks Again! Alejandro -----Original Message----- From: Anthony E. Greene [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 6:25 AM To: [EMAIL PROTECTED] Subject: Re: Linux and Windows ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ********************************************************************** -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11-Jun-2002/18:59 -0700, David Talkington <[EMAIL PROTECTED]> wrote: >Calbazana, Al wrote: > >>I currently have Samba setup and things seem to be working fine. Samba >>addresses my need to move between environments, however, I want to be able >>to refer to my windows machines by hostname rather than IP. > >I presume you mean DNS hostname, rather than NetBIOS, in which case >/etc/hosts or a content DNS server are the options that come to mind ... >absent a way to make nsswitch.conf aware of WINS, which would be ideal >for you, but I don't know any way to do that. > >On the other hand, it wouldn't be too much trouble to write a script >that uses WINS queries (man nmblookup) to populate /etc/hosts for you. >Just a thought. Samba ships with findsmb, which a perl script scans a subnet for SMB servers and outputs some basic info about each one it finds. Tony - -- Anthony E. Greene <mailto:[EMAIL PROTECTED]> OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D AOL/Yahoo Chat: TonyG05 HomePage: <http://www.pobox.com/~agreene/> Linux. The choice of a GNU generation <http://www.linux.org/> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Anthony E. Greene <mailto:[EMAIL PROTECTED]> 0x6C94239D iD8DBQE9ByFjpCpg3WyUI50RArB0AJ9AGIAwJRLgB3AlGR5Gux9wL+MIqwCgr6zi YdDMgUy+mlo4IOHsWntDdf8= =q9L1 -----END PGP SIGNATURE----- _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ********************************************************************** _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list