Subject: Re: SMBFS
To: None <netbsd-users@netbsd.org, current-users@netbsd.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: netbsd-users
Date: 03/09/2004 13:40:01
--a+b56+3nqLzpiR9O
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
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 =3D Operation not permit=
ted
> >
> > 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
>=20
> Setting sysctl vfs.generic.usermount=3D1 might help.
Sorry, no go. Same error.
-Jan
--=20
Ancient Principle of WYGIWYGAINGW:
What You Get Is What You're Given, And It's No Good Whining.
--Terry Pratchett et al. (The Science of Discworld)
--a+b56+3nqLzpiR9O
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)
iD8DBQFATg+BfFtkr68iakwRAkVUAKCVkrdRh7ItwYsMsRnxhjrle7Q9fQCg24Ql
5KlVUDwjXFK5Qw3IhPkg81U=
=Gtb4
-----END PGP SIGNATURE-----
--a+b56+3nqLzpiR9O--