user level drive mounting utility

From: Chris Hoogendyk (choogend@library.umass.edu)
Date: Fri Jun 14 2002 - 17:04:47 EDT


I have a bit of a project to undertake and thought I would seek advise
before proceeding.

We have a campus wide resource called the "U-Drive" that provides shared
space students/faculty/staff can access from their own PC/Mac/Linux
desktop. It is a Net App with gobs of disk set up with SMB share mount
points on a per user account scale.

In my library, I have SunRay thin clients running kiosk mode. Anyone can
walk in and use NetScape, StarOffice, etc to do library research. We
would like them to be able to save database search results and
downloaded documents to their "U-Drive".

My idea is to add a desktop menu item that is a scripted utility. This
would ask them for a username/password and then submit it to the Net App
and create a mount point on a local subdirectory within the kiosk user
directory. Ideally, I could also write this script to be robust against
errors, and run a child process in the background that would dismount
the drive iif it was still there after, say, half an hour. I have Samba
installed, but not configured. I want to only use the utilities for
mounting an smb share from another server. I'm not going to have Samba
actually running as a server.

So, here is where I need some advice. I need to be able to pop up a
login dialog in the CDE environment. It's all totally local on the
server, so network security is not an issue outside of the actual smbfs
mount, and I have no control over that. Does it make sense to script all
of this in Tcl/Tk? I have no experience yet doing this, and I don't know
of any other way that would be reasonably easy to do what I need to do.
I have the O'Reilly book "Exploring Expect" which covers Tcl and has a
chapter on Tk.

---------------

Chris Hoogendyk

-- 
   O__  ---- Network Specialist & Unix Systems Administrator
  c/ /'_ --- Library Information Systems & Technology Services
 (*) \(*) -- W.E.B. Du Bois Library
~~~~~~~~~~ - University of Massachusetts, Amherst
<choogend@library.umass.edu>
---------------
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:27 EDT