Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 2003 12:18:26 +0200
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Boris Popov <bp@vertex.kz>
Cc:        Eugene <eugene@emetex.ru>, stable@freebsd.org, Sheldon Hearn <sheldonh@freebsd.org>
Subject:   Re: mount_smbfs
Message-ID:  <20030130101826.GA38391@sunbay.com>
In-Reply-To: <Pine.BSF.4.21.0301301556040.18462-100000@lion.butya.kz>
References:  <20030128075501.GA17898@sunbay.com> <Pine.BSF.4.21.0301301556040.18462-100000@lion.butya.kz>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Thu, Jan 30, 2003 at 04:02:00PM +0600, Boris Popov wrote:
> On Tue, 28 Jan 2003, Ruslan Ermilov wrote:
> 
> > > Recently I've tried to mount:
> > > # mount_smbfs -E koi8-r:cp866 -I ss1.office.copoc.ru -W Silver -f 400 -d 500 //eugene@ss1/soft /usr/home/eugene/SS1_Soft
> > > and have got:
> > > > mount_smbfs: can not setup kernel iconv table (koi8-r:tolower): syserr = Operation not permitted
> 
> 	I'm not sure what caused this if mount is done from root and iconv
> package properly installed.
> 
> > > Did I miss something or here is a bug?  Does anybody know where I can take
> > > tables that iconv needs?
> 
> 	From ports/iconv
> 
> > The bad thing about mount_smbfs(8) is that it does not work
> > for user mounts (vfs.usermount=1) due to the need to set up
> > the iconv table.  Boris, Sheldon, is that fixable?
> 
> 	iconv tables can be preloaded by performing a dummy mount from
> root. It is not clear if other components will not require root
> privileges.
> 
I'm not sure what do you mean.  I tried:

1.  Mounting a share from server using -Ekoi8-r:cp866 under root:

$ mount -t smbfs
//RU@WHALE/RU on /net/whale/ru (smbfs)

2.  Mounting another share from this same server using -Ekoi8-r:cp866:

$ mount_smbfs -E koi8-r:cp866 //whale/movies mnt
Warning: no cfg file(s) found.
mount_smbfs: can not setup kernel iconv table (koi8-r:tolower): syserr = Operation not permitted


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+OPvyUkv4P6juNwoRAsM2AJ4hdCrtbJ2713/ENlU1pYYrLsOfAQCcCMBh
aR8CVxLBqbJT63H1u6eWR+w=
=JQht
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030130101826.GA38391>