Opened 15 years ago
Last modified 15 years ago
#7 closed enhancement
samba support: must tell client or server what/how to mount stuff — at Version 5
Reported by: | Antoine Martin | Owned by: | Antoine Martin |
---|---|---|---|
Priority: | major | Milestone: | 1.0 |
Component: | Client | Keywords: | |
Cc: |
Description (last modified by )
Windows clients can't mount a remote tunneled server since we can't tell them what port to use (sigh). So maybe we should always do a reverse mount? (server mounts shares from the client)
We need to find out the list of shares (pysamba?) and allow the user to configure what is mounted (read-only, password,...)
The actual mounting is the easy part:
mount.cifs //127.0.0.1/public ./guest -o port=21062 -o guest
But we have to make sure we always unmount stuff when the server goes down... Problem is that some files might still be open!
We should also deal with non-tunneled setups nicely: simply connect to SMB on client or server directly. This weighs in favour of supporting client-mounts-server option.
We can figure out what shares are available with (needs a bit of magic parsing... sigh):
smbclient -U guest -N -L localhost
or
smbclient -A /path/to/auth-file -L localhost
Maybe we should make the mounting more filesytem agnostic (using modules) to handle sshfs,nfs,glusterfs,..
Change History (5)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Description: | modified (diff) |
---|---|
Milestone: | 0.9 → 0.10 |
Summary: | re-instate param_config to command line so we can open config files → samba support: must tell client or server what/how to mount stuff |
comment:3 Changed 15 years ago by
Owner: | changed from Antoine Martin to Antoine Martin |
---|---|
Status: | new → accepted |
comment:4 Changed 15 years ago by
Description: | modified (diff) |
---|
comment:5 Changed 15 years ago by
Description: | modified (diff) |
---|
Also check the mime mapping on Linux