Subject: Re: SMBFS
To: None <netbsd-users@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-users
Date: 03/09/2004 19:10:29
In article <20040309184001.GE15902@netmeister.org>,
Jan Schaumann <jschauma@netmeister.org> wrote:
>-=-=-=-=-=-
>
>Bang Jun-Young <junyoung@NetBSD.org> wrote:
>> Jan Schaumann wrote:
>
>> > I'm trying to use mount_smbfs to access a remote Windows share:
>> >
>> > mount_smbfs -I remote.server.name -W campus -u jschauma	\
>> > //jschauma@remote/jschauma /mnt
>> > Password:
>> >
>> > This only succeeds if I do this as root.  As a regular user, I get:
>> > mount_smbfs: unable to open connection: syserr = Operation not permitted
>> >
>> > Tracing it:
>> >    763 mount_smbfs CALL  open(0xbfbfed84,0x2,0x4805429c)
>> >    763 mount_smbfs NAMI  "/dev/nsmb0"
>> >    763 mount_smbfs RET   open 3
>> >    763 mount_smbfs CALL  ioctl(0x3,_IOW('n',0x6a,0x4),0xbfbfedc4)
>> >    763 mount_smbfs GIO   fd 3 wrote 772 bytes
>> > [...]
>> >    763 mount_smbfs RET   ioctl -1 errno 1 Operation not permitted
>> 

What's major and minor of /dev/nsmb0

christos