Issue Details (XML | Word | Printable)

Key: MDL-16907
Type: Sub-task Sub-task
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Dongsheng Cai
Reporter: Dongsheng Cai
Votes: 0
Watchers: 2
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-16543

Develop "SMB" plugin for windows shares

Created: 17/Oct/08 10:31 AM   Updated: 13/Mar/09 12:31 PM
Return to search
Component/s: Repository API
Affects Version/s: 2.0
Fix Version/s: 2.0

Participants: Andrea Bicciolo, Dongsheng Cai, Martin Dougiamas and Matt Gibson
Security Level: None
Resolved date: 13/Mar/09
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Dongsheng Cai added a comment - 20/Oct/08 03:26 PM
Can list and download now, need further work of searching.

Matt Gibson added a comment - 04/Nov/08 09:21 PM
Hi Dongsheng,

Will this plugin operate when hosted on Windows as well as on *nix? The problem with the block that was in contrib was that it was entirely dependent on having samba available.


Dongsheng Cai added a comment - 05/Nov/08 09:43 AM
Hi, Matt, currently, I couldn't find a way to access smb on windows, please let me know if you have any clue, thanks in advance.

Matt Gibson added a comment - 06/Nov/08 12:04 AM
Actually, I tried that for a good day or so and couldn't get SMB running at all. I was hoping you might know of another way to access windows shares, as I don't. Might need to persuade the powers that be to switch to Ubuntu...

If we were using Linux, is there a way for the plugin to provide a default share location based on their usernames so that they don't need to authenticate (our users' home drives are mapped using their active directory entries)? This would probably only be relevant for people with LDAP authentication.


Andrea Bicciolo added a comment - 10/Nov/08 11:47 PM
Dongsheng,

I'm trying the plugin but I'm not successful using any of the following syntax for Server name:

server
server/share
server\share
server
\\server\share
domain/server
domain/server/share

Other than the syntax, there are software requirements on the server where Moodle Runs to connect a SMB share ?


Martin Dougiamas added a comment - 11/Nov/08 09:20 AM
Andrea, yes, you need to have samba installed and running on the Linux server where Moodle is running, as Moodle just calls the samba client on the command line to get things done.

Dongsheng Cai added a comment - 11/Nov/08 09:35 AM
Andrea, server name should be something like this: smb://server/share/path

Dongsheng Cai added a comment - 13/Mar/09 11:55 AM
Remove this plugin from core, because it is not stable and unix only

Dongsheng Cai added a comment - 13/Mar/09 12:31 PM
Removed, see CONTRIB-1103