+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 17
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 ...
  1. #1
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,207
    Thank Post
    225
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    30

    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?


    Wes

  2. #2
    Marci's Avatar
    Join Date
    Jun 2008
    Location
    Wakefield, West Yorkshire
    Posts
    895
    Thank Post
    84
    Thanked 235 Times in 194 Posts
    Rep Power
    82
    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...

    Code:
    smbclient \\\\servername\\share -U username
    ...should prompt for password then drop you to smb: \> prompt. issuing 'ls' should then list the contents of that User's home.

    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.

  3. #3
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,207
    Thank Post
    225
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    30
    Sadly I get the following:

    session setup failed: NT_STATUS_LOGON_FAILURE
    [root@marianvle theme]#


    from the command prompt:

    smbclient //server/homeshare -U username
    Wes

  4. #4
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,207
    Thank Post
    225
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    30
    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.


    Wes
    Last edited by wesleyw; 3rd June 2011 at 12:56 PM.

  5. #5
    Marci's Avatar
    Join Date
    Jun 2008
    Location
    Wakefield, West Yorkshire
    Posts
    895
    Thank Post
    84
    Thanked 235 Times in 194 Posts
    Rep Power
    82
    The backslashes need escaping... dbl them up...

    Code:
    smbclient \\\\server\\homeshare -U username
    not sure though whether or not it's authenticating to the local server account or the network one?
    Check EventViewer on the DC... Directory Service log... see if there's an entry at correct time corresponding to an attempt.

  6. #6
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,207
    Thank Post
    225
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    30
    Nothing in the directory service log?

  7. #7
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,207
    Thank Post
    225
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    30
    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.

    Wes

  8. #8
    Marci's Avatar
    Join Date
    Jun 2008
    Location
    Wakefield, West Yorkshire
    Posts
    895
    Thank Post
    84
    Thanked 235 Times in 194 Posts
    Rep Power
    82
    Ah righty... create /etc/nsmb.conf (location platform dependant) with contents as follows:

    Code:
    [default]
    workgroup=domain.here
    nbns=ipof.wins.ser.ver
    
    [SERVERNAME]
    addr=IP.add.re.ss
    workgroup=domain.here
    and also create /etc/hosts which should consist of IP address followed by space separated list of all aliases of the server... eg:

    Code:
    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
    And see http://technet.microsoft.com/en-us/l.../cc961809.aspx to setup the logging at the DC...

    (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.

  9. Thanks to Marci from:

    wesleyw (3rd June 2011)

  10. #9
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,207
    Thank Post
    225
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    30
    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?

  11. #10
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,207
    Thank Post
    225
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    30
    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?


    Wes

  12. #11
    Marci's Avatar
    Join Date
    Jun 2008
    Location
    Wakefield, West Yorkshire
    Posts
    895
    Thank Post
    84
    Thanked 235 Times in 194 Posts
    Rep Power
    82
    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...

    Code:
     smbclient \\\\server\\share -U DOMAIN/username
    If THAT works then you def need LDAPCapture.
    Last edited by Marci; 3rd June 2011 at 03:18 PM.

  13. Thanks to Marci from:

    wesleyw (6th June 2011)

  14. #12
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,207
    Thank Post
    225
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    30
    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?

    Wes

  15. #13
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,207
    Thank Post
    225
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    30
    Having read the documentation the answer to that would be yes lol sorry. Looks like this is the way to go.

    Thanks again Marci,


    Wes

  16. #14
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,207
    Thank Post
    225
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    30
    Looks like I'm going to have a problem with Moodle 2 though as LDAPCapture doesn't exist for it.


    Wes

  17. #15
    Marci's Avatar
    Join Date
    Jun 2008
    Location
    Wakefield, West Yorkshire
    Posts
    895
    Thank Post
    84
    Thanked 235 Times in 194 Posts
    Rep Power
    82
    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.

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Moodle - windows web client (smb)
    By _techie_ in forum Virtual Learning Platforms
    Replies: 7
    Last Post: 5th November 2010, 09:15 AM
  2. Moodle Windows Share Web Client
    By itgeek in forum Virtual Learning Platforms
    Replies: 5
    Last Post: 16th September 2010, 11:48 AM
  3. Moodle SMB Web Client
    By Hightower in forum Virtual Learning Platforms
    Replies: 15
    Last Post: 21st July 2010, 10:55 AM
  4. Moodle: SMB Web Client - HTTPS...
    By fabled-aesop in forum Virtual Learning Platforms
    Replies: 14
    Last Post: 17th March 2009, 04:27 PM
  5. Moodle & Windows Share Web Client
    By clodhopper in forum Virtual Learning Platforms
    Replies: 1
    Last Post: 12th March 2009, 10:43 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •