Re: File sharing with Nautilus
- From: George J Karabin <gkarabin pobox com>
- To: Alexander Larsson <alexl redhat com>
- Cc: Darryl Rees <a4atuuj02 sneakemail com>, Superfrog <superfrog pandora be>, Nautilus <nautilus-list gnome org>
- Subject: Re: File sharing with Nautilus
- Date: Tue, 19 Aug 2003 07:54:06 -0700
On Tue, 2003-08-19 at 00:25, Alexander Larsson wrote:
> On Mon, 2003-08-18 at 18:00, Darryl Rees wrote:
> > This being an integration issue, would it be raising this on the samba
> > mailing list and possibly xdg? I am sure there are some samba people who
> > would love to contribute...
> > Parsing config files is yucky. Which smb.conf is actually being used,
> > and is it readable by the user? Do different versions of samba have
> > different formats (eg. upcoming v3.0 - I don't know)? Would it be better
> > to build something into samba - then you could also do things like show
> > if a share is mounted anywhere.
> Sure, it is yucky. But all integration work tends to be. All these
> comments you have is why I said it is possible if you control the distro
> (or do manual config work).
Adding some code in libsmbclient for adding, deleting, and listing
shares, and receiving notifications about changes in a share's state
seems like a possibility. libsmbclient ought to be able to make a
blanket judgement that a user can only share a directory that he owns,
or otherwise has priviledges for, assuming that the admin hasn't
overridden user-shares altogether via smb.conf.
At this point, the distro integration ought to be limited to picking
values to write into smb.conf depending on what the install type is
(servers maybe ought not to support user sharing, workstations maybe
should?). Are there other features that would require post-processing
(Hoping not to be a lame duck here - I took a look at libsmbclient
gnome-vfs integration a few weeks ago, and noticed that it's not caching
user requests. This has a number of undesirable side effects, since the
cache is also used for storing state information used by at least one
state machine. Bug is https://bugzilla.samba.org/show_bug.cgi?id=259 for
anyone interested. To make a long story short, I'm getting familiar with
this code, and want to hack...).
> > Maybe it would even be possible to generalize a simple protocol that
> > could be used for webDAV or nfs, etc as well?
> That would be nice i guess.
> What is needed is a list of shared directories. Everything else (such as
> a "is this directory shared program") will be to slow.
> Alexander Larsson Red Hat, Inc
> alexl redhat com alla lysator liu se
> He's a leather-clad vegetarian card sharp searching for his wife's true
> killer. She's a scantily clad Buddhist opera singer who don't take no shit
> from nobody. They fight crime!
] [Thread Prev