the owner of the mount point (or user specified via -u); this is necessary
to succeed the permission check in the kernel SMB share code
owner setting via -O would still apply, but it's now not necessary when
doing non-root mount
enable the check for cloned /dev/nsmb, to simplify eventual future switch
to cloned /dev/nsmb device
use compile time string concatenation for one constant string
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
part would be specified (i.e. no '/' in the string), smb_parse_owner()
would be called with NULL 'cp' with obvious results; call it with 'p'
instead, so that the 'sowner:sgroup' is really optional as the code intended
problem pointed out by Masao Uebayashi <uebayasi at pultek dot co dot jp>
in private mail
smb_parse_owner(): put the group/user name in apostrophes in error message,
for readability
correctly (this isn't a plain array!), and sort the checks a bit
to avoid duplicates in the interface list.
Now broadcast capable interfaces are identified and "mount_smbfs"
can be used without the "-I <addr>" argument.
on i386, resulting in ' ' being encoded incorrectly in session
setup query - just use memcpy() as rest of code, it DTRT for both LE and
BE machines in this case, since the function is called with 'word'
in little-endian format
Many thanks to Martin Husemann for testing on i386 and sparc64 against
both w2k and Samba.
* g/c unused members 'mount_point', 'root_path', which only take space
* rename 'dev' to 'dev_fd' to more closely match what it is
* add 'export' member to avoid changing this again if ever smbfs would
be made exportable
bump SMBFS_VERMIN - ABI/API change; mount_smbfs needs to be recompiled
to work again
add SEE ALSO, HISTORY
adjust BUGS to stress this is experimental and to use send-pr
adjust AUTHORS to include people who did NetBSD port (Matt Debergalis and me)