Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#7 closed enhancement (fixed)

SMB support: must tell client or server what/how to mount stuff — at Version 13

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 1.0
Component: Client Keywords:
Cc:

Description (last modified by Antoine Martin)

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 14 years ago by Antoine Martin

Also check the mime mapping on Linux

comment:2 Changed 14 years ago by Antoine Martin

Description: modified (diff)
Milestone: 0.90.10
Summary: re-instate param_config to command line so we can open config filessamba support: must tell client or server what/how to mount stuff

comment:3 Changed 14 years ago by Antoine Martin

Owner: changed from Antoine Martin to Antoine Martin
Status: newaccepted

comment:4 Changed 14 years ago by Antoine Martin

Description: modified (diff)

comment:5 Changed 14 years ago by Antoine Martin

Description: modified (diff)

comment:6 Changed 14 years ago by Antoine Martin

Description: modified (diff)
Summary: samba support: must tell client or server what/how to mount stuffSMB support: must tell client or server what/how to mount stuff

comment:7 Changed 14 years ago by Antoine Martin

Milestone: 1.00.9.1

comment:8 Changed 14 years ago by Antoine Martin

Milestone: 0.9.10.9.2

comment:9 Changed 14 years ago by Antoine Martin

Milestone: 0.9.21.0

comment:10 Changed 14 years ago by Antoine Martin

part 1 in r1972: parse smbclient

Last edited 13 years ago by Antoine Martin (previous) (diff)

comment:11 Changed 14 years ago by Antoine Martin

large part done in r1975

Last edited 13 years ago by Antoine Martin (previous) (diff)

comment:12 Changed 14 years ago by Antoine Martin

Resolution: fixed
Status: acceptedclosed

now support non-tunneled mounts in r1979

Last edited 13 years ago by Antoine Martin (previous) (diff)

comment:13 Changed 14 years ago by Antoine Martin

Description: modified (diff)
Note: See TracTickets for help on using tickets.