id summary reporter owner description type status priority milestone component resolution keywords cc 7 SMB support: must tell client or server what/how to mount stuff Antoine Martin 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)[[BR]] We need to find out the list of shares (pysamba?) and allow the user to configure what is mounted (read-only, password,...)[[BR]] [[BR]] The actual mounting is the easy part: {{{ mount.cifs //127.0.0.1/public ./guest -o port=21062 -o guest }}} [[BR]] 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. [[BR]] 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 }}} [http://www.jmcresearch.com/src/projecthelper.php?action=view&id=18 pysamba] does not seem to help here, unless I am missing something. See bug #91 for the next step." enhancement closed major 1.0 Client fixed