Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Feb 2000 09:08:30 +0600 (ALMT)
From:      Boris Popov <bp@butya.kz>
To:        Dan Nelson <dnelson@emsphone.com>
Cc:        The Hermit Hacker <scrappy@hub.org>, freebsd-current@FreeBSD.ORG
Subject:   Re: [mount_nwfs] Got it!! But ...
Message-ID:  <Pine.BSF.4.10.10002180848430.46653-100000@lion.butya.kz>
In-Reply-To: <20000217122919.B11137@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 17 Feb 2000, Dan Nelson wrote:

> > I've looked at the man page and the .nwfsrc file, but there is a
> > 'flaw' there, and that is what does one do in a multi-user
> > environment, where I want to mount n users netware drives to the
> > system on reboot? they have to give me their netware passwords?
> 
> This is where Terry joins in, and talks about per-user credentials. 
> The problem is that the unix mount style (mount as root, and limit
> access on the client as users access files) doesn't mesh well with the
> Netware/SMB model (one independant mount per user).

	Yeah, this problem exists. Someone with good design and
programming skills really should sit down and write session manager.

	While this isn't done I've made some workarounds in the ncplib to
achieve same goals:

	Connection to netware server have the same the same attributes as
file, eg. access mode, owner id, group id. This allows to make private
conections which is not visible to other users.

	Since there is no way to ask user about password at boot time,
there is a 'password' variable which works as persistent password "cache".
There is also another way to do that, I'm calling it as "lazy mounts". If
mount point is marked as "lazy" then it mounted on boot as normal mount
but no netware login is performed and user sees typical SYS:LOGIN files.
After that, user can issue an "mount_nwfs /home/fred/nwmount" command and
enter password at promt. May be this method will be implemented in the
next version of ncplib.

--
Boris Popov
http://www.butya.kz/~bp/



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10002180848430.46653-100000>