public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dan Kegel <dank@kegel.com>
To: Jean-Eric Cuendet <jean-eric.cuendet@linkvest.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: re: SMB filesystem
Date: Sun, 02 Jun 2002 22:50:43 -0700	[thread overview]
Message-ID: <3CFB03B3.90353B54@kegel.com> (raw)

Jean-Eric Cuendet wrote:
> [Currently], SMB access with Linux is done in the way:
> - Mount a share
> - Access it with rights defined at mount time.
> 
> I'm thinking of implementing an smb filesystem, the way AFS implement 
> the AFS client fs kernel driver.
> - Mount the smb filesystem on /smb (done at boot time)
> - Every user has list dir access on /smb
> - There, you see each workgroup/domain available on the network
> - Then in each domain, a list of machines
> - Then in each machine, a list of shares
> - Then a list of files/dirs
> Access will be granted using the SMB token (like a kerberos ticket) 
> issued by the primary domain controller.
> It's the way the windows explorer works. It's cool and useful.
> 
> What do you think of implementing it that way? Comments?
>
> I'd like to implement it with libsmbclient.so, a samba provided lib that 
> let you have access to workgroups/machines/shares in a MS network from 
> Linux (or UNIX).
> Then, it can't be kernel only. I need a userspace daemon

I've been hoping somebody would take this on.
Question: how will you carry the SMB token around? 
Let's imagine somebody starts a script that runs two programs 
that access SMB shares, and that they're initially not logged in at all.  
If this were Windows, it would prompt them once for their username 
and password, and then allow access from then on.
If you make the SMB token a property of the process, the 2nd program
won't be able to access the files after the 1st program somehow 
triggers the user to log in.
Perhaps it should be kept in the kernel in the process group,
so all processes in a process group can use the token?
- Dan

             reply	other threads:[~2002-06-03  5:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-03  5:50 Dan Kegel [this message]
2002-06-03 11:34 ` SMB filesystem David D. Hagood
2002-06-03 14:14 ` Jean-Eric Cuendet
2002-06-03 16:22   ` Dan Kegel
  -- strict thread matches above, loose matches on Subject: below --
2002-06-02 21:00 Jean-Eric Cuendet
2002-06-02 21:16 ` Thunder from the hill
2002-06-02 21:21 ` Matti Aarnio
2002-06-02 21:31 ` Marius Gedminas
2002-06-02 21:34 ` Urban Widmark
2002-06-02 22:16   ` Marius Gedminas
2002-06-03 22:45   ` Ion Badulescu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3CFB03B3.90353B54@kegel.com \
    --to=dank@kegel.com \
    --cc=jean-eric.cuendet@linkvest.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox