Your Moodle version

Blocks: Windows Share access (AKA Network Drive Access, SMB Web Client)

Maintained by Picture of Guy Thomas Guy Thomas
Access windows shares via a Moodle web interface.
Moodle 2.4, 2.5, 2.6

Access windows shares via a Moodle web interface.

Please note. At the time of writing, version 2013101600 is the latest release and it is finally at release candidate status.

Development of version 2013101600 was sponsored by Overnet Data Ltd

Configuring shares is now done simply by adding them to a text area field (easier to edit, etc). This text area field is progressively enhanced in to a YUI3 table as per the following screen shot. Please can you provide feedback on this new configuration mechanism via the comments on this page.

admin page for windows share access block

picture of windows share access block and share folders and files being displayed




Picture of Guy Thomas
Guy Thomas (Lead maintainer): Main Developer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Guy Thomas
    Tue, Mar 25, 2014, 3:34 AM
    hi Alex. Sorry for the late reply. It could be because in your settings you have clam av enabled but it is not available on your operating system.
  • Picture of Guy Thomas
    Tue, Mar 25, 2014, 3:35 AM
    Thanks for reporting Moodle 2.6 issues Peter. Moodle 2.6 version is now available.
  • Picture of alex johnson
    Tue, Mar 25, 2014, 7:45 AM
    Hi Guy, I discovered that the AV setting was the culprit and should've reported this back apologies. A little odd as Clam AV is set on a scheduled scan for the MoodleData directory. Nonetheless this works so a great plugin.
  • Picture of Phil Hemstock
    Tue, Mar 25, 2014, 8:30 PM
    Complete Moodle newbie here. I'm struggling to get this block to work using our Windows server. It just opens with a blank page no matter what settings I try. I've got shares in the form //server/share (using the Linux style forward slashes. I have SSL disabled, the username prefix is DOMAINNAME/ - can anybody help, specifically Windows users? Also, when I enable logging - WHERE does it put the logs???!!!! I've searched inside CYGWIN folder
  • Picture of Phil Hemstock
    Tue, Mar 25, 2014, 8:35 PM
    Should also mention, smbclient from the command line works and connects to the share using smbclient //server/share -U domain/username%password
  • Picture of Guy Thomas
    Wed, Mar 26, 2014, 8:30 PM
    Hi Phil. I guess that the logs go into the windows event viewer logs. If you are getting a blank page I recommend you switch debugging on to 'Developer' and then set it to display errors (site administration > developer > debugging). If you let me know the errors which show up I can maybe help.
  • Picture of Phil Hemstock
    Wed, Mar 26, 2014, 8:36 PM
    Hi Guy. I've enabled that and now at the top of my empty windows I get this:

    get_context_instance() is deprecated, please use context_xxxx::instance() instead.•line 4020 of \lib\deprecatedlib.php: call to debugging()
    •line 14 of \blocks\smb_web_client\smbwebclient_moodle.php: call to get_context_instance()
  • Picture of Simon Bryan
    Sun, Apr 27, 2014, 6:22 PM
    Am having trouble with the Filter setting. Have a Staff Share that I would rather not have hte students see, although Windows Security seems to be working. But no matter what Filter I apply the SHare is hidden from everyone. eg R[Course Creator] as all my staff are Course Creators (working on getting cohorts happening but even with staff in a particular cohort eg Staff setting CH[STaff] likewise just hides the share. Without the filter it works properly.
    THe share is nit hidden ($) or part of DFS
  • Picture of Simon Bryan
    Sun, Apr 27, 2014, 6:56 PM
    Should have mentioned:
    Moodle 2.6.2+ (Build: 20140424)
    Stable version
    and module 2013101400)
  • Picture of rob coles
    Tue, Apr 29, 2014, 9:08 PM
    I'm having problems with SMB in IE11.

    Error reads object_name_not_found works in chrome.

    Any suggestions?
  • Picture of Guy Thomas
    Tue, Apr 29, 2014, 9:54 PM
    Simon - I think you need to use the short name of the role - R[coursecreator] - also note that the course creator role will probably need to be allocated at system level. I think cohorts is a better method, again use the short name of the cohort.
  • Picture of Guy Thomas
    Tue, Apr 29, 2014, 9:55 PM
    rob, what actions caused this error? Opening a directory, logging in, etc...
  • Picture of rob coles
    Wed, Apr 30, 2014, 4:42 PM
    Morning Guy, it was just after logging in. It worked in chrome fine.

    I've double checked this morning and it appears to be working now. Will keep you updated.


  • Picture of rob coles
    Thu, May 1, 2014, 3:47 PM
    Morning Guy, I've managed to repeat the issue with smb. Doesn't seem related to the browser at all. I've got a few screenshots how can I send them?
  • Picture of Guy Thomas
    Thu, May 1, 2014, 4:08 PM
    Hi Rob. You can send them to gthomas[at]moodlerooms[dot]com. Logs are much more useful than screens hots. Also, please tell me more details about your server setup.
1 2 3 4 5 6 7
Please login to post comments