linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lionel Bouton <Lionel.Bouton@inet6.fr>
To: Jean-Eric Cuendet <jean-eric.cuendet@linkvest.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: SMB browser
Date: Sat, 31 Aug 2002 13:31:21 +0200	[thread overview]
Message-ID: <3D70A909.8080105@inet6.fr> (raw)
In-Reply-To: 3D709AB7.705@linkvest.com

Jean-Eric Cuendet wrote:

> Hi,
> I want to develop a filesystem driver. It will be able to access SMB 
> shares without mountnig.
> I'll do a daemon that use libsmbclient from Samba 3.0 that do all the 
> dirty stuff (getting the available domains, authenticating, getting 
> files, etc...) and a device driver that will be a filesystem driver. 
> The driver should communicate with the daemon to ask him about shares, 
> machines, domains, etc...
>
> The idea is:
> - the daemon should be started by "/etc/init.d/browser start" at 
> beginning
> - The daemon loads the driver into the kernel
> - The daemon then mounts the filesystem on /smb using the filesystem 
> provided by the driver
> - The driver waits for file requests on /smb to serve them
> The hierarchy will be :
>
> /smb --|-- WG1  --|-- Machine1 --|-- Share1
>       |          |              |-- Share2
>       |          |-- Machine2 --|-- Share1
>       |                         |-- Share2
>       |                         |-- Share3
>             |
>       |-- WG2  --|-- Machine3 --|-- Share1
>       |-- DOM1 --|-- Machine4 --|-- etc...
>       |-- DOM2 --|-- Machine5
>
> Then the user access /smb/WG2/Machine38/Share12/Dir1/File2
> Cool, no?


I see some shortcomings :

How will you handle multiple users ?
Janice and Bob have accounts on the Linux client and both want to have 
access at the same time to their [Home] for example :
|-- DOM1 --|-- Machine4--|--[Home]

How will you handle users with multiple logins on a Domain/Machine ?

Maybe you'd be better starting with something like :

local_user_home_directory--|--smb--|--login--|--WGx/DOMy--|....

user's could provide something like a ".smbwalker.config"
with lines like
login_to_try    how_to_get_credential

local_user_home_directory--|--smb could be mounted by automount or 
mounted/umounted on first login/end of last session

LB


  reply	other threads:[~2002-08-31 11:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-31 10:30 SMB browser Jean-Eric Cuendet
2002-08-31 11:31 ` Lionel Bouton [this message]
2002-08-31 19:23   ` Jean-Eric Cuendet
2002-08-31 23:26     ` Daniel Bruce Lynes
     [not found] ` <20020831103928.B140@alexis.itd.umich.edu>
2002-08-31 20:01   ` Jean-Eric Cuendet
2002-09-01 11:47 ` Gilad Ben-Yossef
2002-09-01 11:49 ` Gilad Ben-Yossef

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=3D70A909.8080105@inet6.fr \
    --to=lionel.bouton@inet6.fr \
    --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;
as well as URLs for NNTP newsgroup(s).