Subject: CVS commit: src/dist/smbfs/lib/smb
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 04/09/2003 12:12:39
Module Name:	src
Committed By:	jdolecek
Date:		Wed Apr  9 09:12:39 UTC 2003

Modified Files:
	src/dist/smbfs/lib/smb: ctx.c

Log Message:
if the share name contains a dot, assume it's actually a server name
or server IP address - this allows 'mount_smbfs //192.168.0.1/foo /mnt'
to work as expected, i.e. being same as if -I 192.168.0.1 would be
specified too
perhaps we should resolve the IP to real NetBIOS name, but
apparently both Samba 2.2.8 and Windows XP accept the logon request
even when the NetBIOS name isn't correct

adresses PR kern/20991 by Robert Vargason


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 src/dist/smbfs/lib/smb/ctx.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.