#7 closed enhancement (fixed)
SMB support: must tell client or server what/how to mount stuff
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
pysamba does not seem to help here, unless I am missing something.
See bug #91 for the next step.
Change History (13)
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) |
---|
comment:6 Changed 15 years ago by
Description: | modified (diff) |
---|---|
Summary: | samba support: must tell client or server what/how to mount stuff → SMB support: must tell client or server what/how to mount stuff |
comment:7 Changed 15 years ago by
Milestone: | 1.0 → 0.9.1 |
---|
comment:8 Changed 15 years ago by
Milestone: | 0.9.1 → 0.9.2 |
---|
comment:9 Changed 15 years ago by
Milestone: | 0.9.2 → 1.0 |
---|
comment:12 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
now support non-tunneled mounts in r1979
comment:13 Changed 15 years ago by
Description: | modified (diff) |
---|
Also check the mime mapping on Linux