Moodle

Develop "SMB" plugin for windows shares

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Component/s: Repositories
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Activity

Hide
Dongsheng Cai added a comment -

Can list and download now, need further work of searching.

Show
Dongsheng Cai added a comment - Can list and download now, need further work of searching.
Hide
Matt Gibson added a comment -

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.

Show
Matt Gibson added a comment - 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.
Hide
Dongsheng Cai added a comment -

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.

Show
Dongsheng Cai added a comment - 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.
Hide
Matt Gibson added a comment -

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.

Show
Matt Gibson added a comment - 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.
Hide
Andrea Bicciolo added a comment -

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 ?

Show
Andrea Bicciolo added a comment - 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 ?
Hide
Martin Dougiamas added a comment -

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.

Show
Martin Dougiamas added a comment - 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.
Hide
Dongsheng Cai added a comment -

Andrea, server name should be something like this: smb://server/share/path

Show
Dongsheng Cai added a comment - Andrea, server name should be something like this: smb://server/share/path
Hide
Dongsheng Cai added a comment -

Remove this plugin from core, because it is not stable and unix only

Show
Dongsheng Cai added a comment - Remove this plugin from core, because it is not stable and unix only
Hide
Dongsheng Cai added a comment -

Removed, see CONTRIB-1103

Show
Dongsheng Cai added a comment - Removed, see CONTRIB-1103

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: