Virtual Learning Platforms Thread, Windows Share Web Client and Moodle 1.9 in Technical; I've installed and configured the Block and the staff share works but the Home Directory (even though it's pointing to ...
3rd June 2011, 10:50 AM #1
Windows Share Web Client and Moodle 1.9
I've installed and configured the Block and the staff share works but the Home Directory (even though it's pointing to the correct share) displays the folder as blank?
Any ideas what I've missed?
3rd June 2011, 12:16 PM #2
Are you using LDAPCapture auth plugin? Also try setting $smb_cfg->cfgSkipNoPwdParam = true; in the config file regardless of whether you're on uBuntu or not...
Check Event Viewer on the DCs for LDAP errors that may hint towards the root cause...
EDIT: what happens if you run at command line...
...should prompt for password then drop you to smb: \> prompt. issuing 'ls' should then list the contents of that User's home.
smbclient \\\\servername\\share -U username
ie: verify it works at commandline. If it doesn't, it won't work within the block either.
Last edited by Marci; 3rd June 2011 at 12:24 PM.
3rd June 2011, 12:41 PM #3
Sadly I get the following:
session setup failed: NT_STATUS_LOGON_FAILURE
from the command prompt:
smbclient //server/homeshare -U username
3rd June 2011, 12:46 PM #4
however if I use the administrator account and password it works fine? It's using the local admin account I believe though for this. When I logout of the hoem directory then use the administrator account on the block it works fine? I'll have to check whether the settings for SMB are right.
Last edited by wesleyw; 3rd June 2011 at 12:56 PM.
3rd June 2011, 01:01 PM #5
The backslashes need escaping... dbl them up...
smbclient \\\\server\\homeshare -U username
Check EventViewer on the DC... Directory Service log... see if there's an entry at correct time corresponding to an attempt.
not sure though whether or not it's authenticating to the local server account or the network one?
3rd June 2011, 01:04 PM #6
Nothing in the directory service log?
3rd June 2011, 01:05 PM #7
Although I can't ping the server in question using its FQDN only the IP looks like the settings for the DNS aren't there...
I'll fix this problem first I think.
3rd June 2011, 01:09 PM #8
Ah righty... create /etc/nsmb.conf (location platform dependant) with contents as follows:
and also create /etc/hosts which should consist of IP address followed by space separated list of all aliases of the server... eg:
And see http://technet.microsoft.com/en-us/l.../cc961809.aspx to setup the logging at the DC...
172.16.96.39 bigsis.horbury.wakefield.sch.uk bigsis
172.16.96.33 hor-sr-001 hor-sr-001.horbury.internal
172.16.96.31 admin-srv02 admin-srv02.horbury.internal
172.16.96.34 hor-sr-002 hor-sr-002.horbury.internal
172.16.96.38 hor-sr-005 hor-sr-005.horbury.internal
(location of hosts dependant on OS: http://en.wikipedia.org/wiki/Hosts_(...he_file_system - nsmb.conf wants to go in the same folder.)
Last edited by Marci; 3rd June 2011 at 01:14 PM.
3rd June 2011, 02:07 PM #9
Strange at least now it can ping the server. However the Staff Shared Area logs in fine with my user and pass (tried with a fake and it returns a blank folder just like my user area?) if the shared area is alright why wouldn't this be? the share is only available to my account by default though?
3rd June 2011, 02:16 PM #10
Right my user area can be access only by the local administrator account removed all permissions but mine and nothing could log into it now it will allow local administrator (for the windows box the share is on) but no one else?
3rd June 2011, 03:15 PM #11
Unsure, but we HAD to use the LDAPCapture plugin rather than the builtin LDAP plugin as otherwise it didn't encrypt the password correctly when passing thru to the DC, so if you haven't got that installed then that should be the next step. Documentation is here: http://www.ossett.wakefield.sch.uk/w...umentation.pdf & Plugin itself: Moodle.org: Modules and plugins
Sounds as tho the issue is that it isn't working out domain... try logging in with your useraccount but prefix your username with domain\
ie: at command line...
If THAT works then you def need LDAPCapture.
smbclient \\\\server\\share -U DOMAIN/username
Last edited by Marci; 3rd June 2011 at 03:18 PM.
6th June 2011, 09:07 AM #12
Oh dear... I used the domain/username instead of @ or \ and it works on the SMB web share plugin without LDAPCapture. Would installing LDAPCapture allow for Moodle to show and access the shares without logging into each again?
6th June 2011, 09:08 AM #13
Having read the documentation the answer to that would be yes lol sorry. Looks like this is the way to go.
Thanks again Marci,
20th June 2011, 09:41 AM #14
Looks like I'm going to have a problem with Moodle 2 though as LDAPCapture doesn't exist for it.
20th June 2011, 10:03 AM #15
Yep - hold off Moodle2 for now until the plugin has been rewritten. That said tho, the SMBClient block hasn't been rewritten for Moodle2 yet either afaik, so it's kind of a non-issue.
By _techie_ in forum Virtual Learning Platforms
Last Post: 5th November 2010, 09:15 AM
By itgeek in forum Virtual Learning Platforms
Last Post: 16th September 2010, 11:48 AM
By Hightower in forum Virtual Learning Platforms
Last Post: 21st July 2010, 10:55 AM
By fabled-aesop in forum Virtual Learning Platforms
Last Post: 17th March 2009, 04:27 PM
By clodhopper in forum Virtual Learning Platforms
Last Post: 12th March 2009, 10:43 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)