From owner-freebsd-stable Tue Dec 25 11:12:48 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by hub.freebsd.org (Postfix) with SMTP id 5568D37B405 for ; Tue, 25 Dec 2001 11:12:44 -0800 (PST) Received: (qmail 5020 invoked by uid 0); 25 Dec 2001 19:12:42 -0000 Received: from p3ee21621.dip.t-dialin.net (HELO mail.gsinet.sittig.org) (62.226.22.33) by mail.gmx.net (mp013-rz3) with SMTP; 25 Dec 2001 19:12:42 -0000 Received: (qmail 38400 invoked from network); 25 Dec 2001 14:52:35 -0000 Received: from shell.gsinet.sittig.org (192.168.11.153) by mail.gsinet.sittig.org with SMTP; 25 Dec 2001 14:52:35 -0000 Received: (from sittig@localhost) by shell.gsinet.sittig.org (8.11.3/8.11.3) id fBPEqTa38387 for freebsd-stable@freebsd.org; Tue, 25 Dec 2001 15:52:29 +0100 (CET) (envelope-from sittig) Date: Tue, 25 Dec 2001 15:52:28 +0100 From: Gerhard Sittig To: "'freebsd-stable@freebsd.org'" Subject: Re: 4.5-PRERELEASE smbfs resolving issues Message-ID: <20011225155227.O1494@shell.gsinet.sittig.org> Mail-Followup-To: "'freebsd-stable@freebsd.org'" References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from Yonatan@xpert.com on Tue, Dec 25, 2001 at 10:30:53AM +0200 Organization: System Defenestrators Inc. Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Dec 25, 2001 at 10:30 +0200, Yonatan Bokovza wrote: > > [ summary of the heavily mangled ("anonymized") log: the > server's name is "fileserver", its IP is "192.168.100.101" > and one alias "asdasd" got "created" by editing /etc/hosts ] > > asd# mount_smbfs //guest@fileserver/mp3-i /mnt > > [ ... works, while ... ] > > asd# mount_smbfs //guest@asdasd/mp3-i /mnt > mount_smbfs: can't get server address: syserr = Operation timed out > > [Won't resolve with /etc/hosts] > > asd# mount_smbfs //guest@192.168.100.101/mp3-i /mnt > mount_smbfs: server name '192.168.100.101' too long You might want to - look up the mount_smbfs manpage (I didn't personally, my system is not too current and neither did I install the smbfs port) or - visit the project's website and look for the SMB article in the "in the press" section (that's what I did recently:) -- thank you very much Michael, I guess that's what made them punish you with a committer's bit :> There should be an -I option which could be of interest to you. This very problem will always bite you when you deal with MS originated or influenced stuff: they might use some standard tool but they almost never do it naturely(sp?) or completely and always try to "bring in" their own solution and favour it, no matter how broken or counter intuitive it may be ... IP and its supporting infrastructure (DNS) is an option in Windows networks, but it's not the native way of doing things. The MS approach is "no need to know, no need to think, no need to set things up, just plug it together and it will work in some magical way -- as long as you buy everything from MS". That's why they think broadcasts are a Good Idea (TM) and clients should shout out into the world when searching for servers instead of asking some already established directory. > Is that worth a PR ? Definitely not. Unless bypassing WINS doesn't work either. But then you should try to stick with the facts (don't introduce artificial problems by editing / munging everything you did) and maybe try to narrow down yourself which step of the whole SMB chain doesn't work. The best PRs are those with patches attached. :) virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76 Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig@gmx.net -- If you don't understand or are scared by any of the above ask your parents or an adult to help you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message