+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 29
Virtual Learning Platforms Thread, Moodle & SMB Web Client Problem in Technical; I'm in the process of setting up a new moodle server (1.9 running on ubuntu server 8.04 LTS) and I'm ...
  1. #1

    Join Date
    Mar 2007
    Posts
    25
    Thank Post
    0
    Thanked 3 Times in 3 Posts
    Rep Power
    15

    Moodle & SMB Web Client Problem

    I'm in the process of setting up a new moodle server (1.9 running on ubuntu server 8.04 LTS) and I'm running into trouble getting the SMB web client block to work.

    Users can login using LDAP against our AD (server 2003) domain no problem. The error I keep getting is :

    Error Message: No home directory specified in ldap for this user

    Turning debug messages on in the moodle admin panel gives more info:

    Warning: ldap_search() [function.ldap-search]: Search: Operations error in /usr/share/moodle/auth/ldap/auth.php on line 1653

    Warning: ldap_first_entry(): supplied argument is not a valid ldap result resource in /usr/share/moodle/auth/ldap/auth.php on line 1661

    Notice: Undefined index: homeDirectory in /usr/share/moodle/blocks/smb_web_client/class_smbwebclient_moodle.php on line 113

    print_header() was sent a string as 3rd (Nework Home Directory) parameter. This is deprecated in favour of an array built by build_navigation(). Please upgrade your code.

    * line 2422 of lib/weblib.php: call to debugging()

    * line 33 of blocks/smb_web_client/smbwebclient_moodle.php: call to print_header()

    Our users have a homedrive mapped in their AD profile. Their H: drives map to a file server separate to the domain controller and are in the format:

    \\servername\curric\y7\username\My Documents where curric is the root share

    I've tried sharing the user's home drive directly i.e. creating a share of their My Documents folder e.g \\servername\username

    I can log into the file server and list directories using:

    smbclient -U 'DOMAIN\username' \\servername\username -

    or

    smbclient -U 'DOMAIN\username' '\\servername\curric\y7\username\My Documents' which wil only take me to the root of the curric share.

    I've tried to get this block working before on an older server and got the same error and was never able to resolve it. If anyone can shed any light as to what might be going on I'd be very grateful!

    Regards

    Marc

  2. #2

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    241
    I would appreciate any help with this error too?

  3. #3

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    241
    UPDATE

    I have changed the config to this:

    '\\xxx-svr-001'=>'DOMAIN.internal/xxx-svr-001',
    '\\xxx-svr-002'=>'DOMAIN.internal/xxx-svr-002',
    '\\xxx-svr-003'=>'DOMAIN.internal/xxx-svr-003',

    Which now works for staff users, but for students it has the error saying home dir doesnt exist in LDAP - when it does.

    We're CC3.

    Just to add, it asks for a username and password too - can it not send these from the details it gets from Moodle meaning no details need to be input.

  4. #4

    Join Date
    Mar 2007
    Posts
    25
    Thank Post
    0
    Thanked 3 Times in 3 Posts
    Rep Power
    15

    re

    Finally got around to giving this another look. Priority having gone up due to the school getting a load of netbooks and wanting to dish 'em out to Y9. Access to home drives is now quite important...

    I've managed to get a little further. I know that the moodle LDAP capture plugin is authenticating against AD but that AD is not returning all of the attributes, resulting in the undefined index: homeDirectory error. If I dump the the contents of the array that the smb_web_client uses to grab the homeDirectory attribute, the latter is not included. The users I'm testing with definitely have a homeDirectory set as it shows against the users object when I look in adsiedit.

    Inititally I thought it was a permissions problem for the bind user not being able to see all the attributes. I've given the bind user permissions to see everything that looked like it might help. I've also tried binding with a domain admin account as that should have access to everything.

    This one has got me well and truly stumped. Anyone got any ideas

  5. #5

    Join Date
    Mar 2009
    Location
    wakefield
    Posts
    15
    Thank Post
    1
    Thanked 2 Times in 2 Posts
    Rep Power
    11

    Moodle SMB client not returning home directories

    I created this block to work with LDAP but I've only ever been able to test it with Active Directory.
    Recently, someone contacted me with a similar problem and it was because they were using open LDAP.
    The home directory field is different to that of Active Directory.
    The latest version of the block has a config variable that you can set to tell it to use a different field in Active Directory to retrieve the home directory.

    http://www.ossett.wakefield.sch.uk/w...web_client.zip

    Cheers

    Guy

  6. #6
    Marci's Avatar
    Join Date
    Jun 2008
    Location
    Wakefield, West Yorkshire
    Posts
    888
    Thank Post
    84
    Thanked 234 Times in 193 Posts
    Rep Power
    82
    Ah Guy... need to make an appointment for me n' Steve to come see you or vice versa within the next few weeks! Similar required at our end - just had absolutely zero time to look at Moodle yet...

  7. #7

    Join Date
    Apr 2009
    Location
    Stoke
    Posts
    81
    Thank Post
    24
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Hia..........,

    I have setup " Windows Share Web Client " when i click on MyHomeDirectory it comeup with errror message saying SSL-error message

    Also i got stuck with adding code for LDAP capture authentication, for Developer notes it say to add code to " block / wraper / etc " am not sure about the path where the code has to go. ( to capture user credentials and PassOn for other SSO)

    Moodler server - Ubuntu 8.04 lts
    File server - Windows 2003 server

    Any help would appreciated!

    Cheers :0)
    Last edited by kieran8055; 7th April 2009 at 11:47 AM.

  8. #8

    Join Date
    Apr 2009
    Location
    Stoke
    Posts
    81
    Thank Post
    24
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Hi,

    Smbclient is working from command line, but from moodle site its not working, getting error:

    on IE it says page cannot be displayed,

    on Mozilla it say

    Secure Connection Failed

    An error occurred during a connection to www.moodlesite.co.uk.

    Can't connect securely because the site uses an older, insecure version of the SSL protocol.

    (Error code: ssl_error_ssl2_disabled)


    The page you are trying to view can not be shown because the authenticity of the received data could not be verified.

    * Please contact the web site owners to inform them of this problem.


    Any suggestions or help Please,

  9. #9

    Join Date
    Apr 2009
    Location
    Stoke
    Posts
    81
    Thank Post
    24
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Smile

    Problem solved for moodle and SMB Client Problem.

    Cheers

  10. #10

    Join Date
    May 2009
    Location
    Michigan
    Posts
    1
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by kieran8055 View Post
    Problem solved for moodle and SMB Client Problem.

    Cheers
    What did you to resolve the issue?

  11. #11

    Join Date
    Apr 2009
    Location
    Stoke
    Posts
    81
    Thank Post
    24
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by ranciso View Post
    What did you to resolve the issue?
    SMB -client it open in secure link (https), for that we need an ssl certificate so i have change https to http, by disableing in config page.

    Cheers
    :0)

  12. #12

    matt40k's Avatar
    Join Date
    Jun 2008
    Location
    Ipswich
    Posts
    4,382
    Thank Post
    368
    Thanked 637 Times in 519 Posts
    Rep Power
    158
    Quote Originally Posted by kieran8055 View Post
    SMB -client it open in secure link (https), for that we need an ssl certificate so i have change https to http, by disableing in config page.

    Cheers
    :0)
    You've got users accessing there network share over HTTP? Over the internet?

  13. #13

    Join Date
    Apr 2009
    Location
    Stoke
    Posts
    81
    Thank Post
    24
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by matt40k View Post
    You've got users accessing there network share over HTTP? Over the internet?
    yes............

  14. #14

    matt40k's Avatar
    Join Date
    Jun 2008
    Location
    Ipswich
    Posts
    4,382
    Thank Post
    368
    Thanked 637 Times in 519 Posts
    Rep Power
    158
    Quote Originally Posted by kieran8055 View Post
    yes............
    Umm... security?!

  15. #15

    Join Date
    Apr 2009
    Location
    Stoke
    Posts
    81
    Thank Post
    24
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by matt40k View Post
    Umm... security?!
    Mean time we are using on http, once we get the Certificate then we 'll change it to https.

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

Similar Threads

  1. Moodle: SMB Web Client - HTTPS...
    By fabled-aesop in forum Virtual Learning Platforms
    Replies: 14
    Last Post: 17th March 2009, 04:27 PM
  2. Welsh LA & Moodle / VLE
    By pooley in forum Wales
    Replies: 16
    Last Post: 10th March 2009, 11:15 AM
  3. Terminal Servers & FMS Client
    By mortstar in forum MIS Systems
    Replies: 2
    Last Post: 2nd October 2008, 08:59 PM
  4. Moodle & Sub Categories
    By LOUD in forum Virtual Learning Platforms
    Replies: 1
    Last Post: 27th May 2008, 10:28 AM
  5. Webdav web client, force webfolder view?
    By Quackers in forum Web Development
    Replies: 2
    Last Post: 26th March 2006, 06:05 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
  •