Serving data from a script
Anders C. Thorsen
anders at cwd.no
Tue Jan 9 18:19:33 GMT 2001
Look at lists.samba.org
--Anders
-----Original Message-----
From: Harding Richard [mailto:Richard.Harding at icl.com]
Sent: Tuesday, January 09, 2001 5:28 PM
To: 'acthorsen at students.wisc.edu'
Subject: RE: Serving data from a script
Please can you tell me how to de-subscribe from this user group
thanks a lot
Richard
-----Original Message-----
From: Anders C. Thorsen [mailto:acthorsen at students.wisc.edu]
Sent: 09 January 2001 14:43
To: harakan at btinternet.com; samba at us5.samba.org
Cc: samba-technical at us5.samba.org
Subject: RE: Serving data from a script
did you look at the samba VFS?
some c programming with that and i.e. the database API (such as mysql++)
should do the trick.
--Anders
-----Original Message-----
From: samba-technical-admin at us5.samba.org
[mailto:samba-technical-admin at us5.samba.org]On Behalf Of
harakan at btinternet.com
Sent: Tuesday, January 09, 2001 1:44 PM
To: samba at us5.samba.org
Cc: samba-technical at us5.samba.org
Subject: Serving data from a script
Hi,
I was wondering if anyone has done any investigations
into how to serve data to Samba via a script/application,
rather than directly from the file system? Or a way to
map a script into the file system?
Basically, I have an Intranet site (hosted on RH6.2) that
builds a virtual directory structure from a database, so
you can access
http://servername/file/virtual/path/to/file.ext, and the
access rights, file version, etc. are derived from the
database. I want users to be able to have read-only
access to the same files from NT boxes via Samba, but
still using the database for access control/versioning.
I've looked at extending the source code to support this
as another type (as with printers), but I can't distinguish
between local filesystem access for Samba versus local
filesystem access for client file requests. Of course, I'd
prefer to be able to support this using a virtual-FS so I
don't have to change Samba, but I've been unable to
find any tools that will do it...
Any hints or suggestions much appreciated,
Chris.
More information about the samba-technical
mailing list