4.5-PRERELEASE smbfs resolving issues

2001-12-25 Thread Yonatan Bokovza

Hi,
I've got some smalltime issues with smbfs
resolving.
Here:
---
asd$ nslookup fileserver
Server:  dns.asd
Address:  192.168.100.100

Name:fileserver.asd
Address:  192.168.100.101

asd# echo 192.168.100.101 asdasd  /etc/hosts

asd# mount_smbfs //guest@fileserver/mp3-i /mnt
Password:
asd# mount | grep mnt
//GUEST@FILESERVER/MP3-I on /mnt (smbfs)
asd# umount /mnt

[That works]

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 [EMAIL PROTECTED]/mp3-i /mnt
mount_smbfs: server name '192.168.100.101' too long

[An IP address with one less character
will work]

asd# mount_smbfs /guest@fileserver/mp3-i /mnt
mount_smbfs: no server name specified

[Only one / before the username yields
wrong error message]
---
Is that worth a PR ?

Best Regards, 

Yonatan

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: 4.5-PRERELEASE smbfs resolving issues

2001-12-25 Thread Tom


On Tue, 25 Dec 2001, Yonatan Bokovza wrote:

 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 [EMAIL PROTECTED]/mp3-i /mnt
 mount_smbfs: server name '192.168.100.101' too long
...

  In the //user@server/share parameter, the server is supposed to be the
NetBIOS name of the server, not a hostname or an IP.  You should probably
use the -I parameter to specify the IP or hostname of the server.

Tom


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message