Poll: Is this documentation helpful?

+ Post New Thread
Page 1 of 9 12345 ... LastLast
Results 1 to 15 of 131
Virtual Learning Platforms Thread, The Definitive Guide to SIMS.net, Moodle and LDAP Integration in Technical; Hi All, We have now published our documentation, The Definitive Guide to SIMS.net, Moodle and LDAP Integration. I have published ...
  1. #1
    penfold_99's Avatar
    Join Date
    Feb 2008
    Location
    East Sussex
    Posts
    985
    Thank Post
    58
    Thanked 165 Times in 117 Posts
    Rep Power
    68

    Post The Definitive Guide to SIMS.net, Moodle and LDAP Integration

    Hi All,

    We have now published our documentation, The Definitive Guide to SIMS.net, Moodle and LDAP Integration.

    I have published it on the moodle website Here

    There is also a SIMS.net Timetable module for Moodle.

  2. 25 Thanks to penfold_99:

    addid (26th February 2009), alan-d (6th January 2009), apoth0r (11th March 2009), bossman (6th January 2009), CyberNerd (6th January 2009), danIT (5th January 2009), dhicks (22nd June 2009), diggory (10th July 2009), gizmo2005 (6th September 2010), Hecate (3rd June 2009), Hokalus (9th March 2009), ICTNUT (28th April 2009), jamesreedersmith (30th November 2009), Jamman960 (12th January 2009), kieran8055 (11th May 2009), kmount (27th May 2009), MikeW (6th January 2009), nephilim (4th May 2009), Oops_my_bad (5th January 2009), rh91uk (13th March 2009), RobFuller (29th April 2009), Sam_Brown (16th September 2009), Soulfish (13th March 2009), Sylv3r (4th May 2009), User3204 (20th May 2009)

  3. #2

    TechMonkey's Avatar
    Join Date
    Dec 2005
    Location
    South East
    Posts
    3,307
    Thank Post
    226
    Thanked 414 Times in 306 Posts
    Rep Power
    163
    Cool ta! Guess what I am trying to figure out at the mo I'll let you know how I go.

  4. #3
    zag
    zag is offline
    zag's Avatar
    Join Date
    Mar 2007
    Posts
    3,909
    Thank Post
    954
    Thanked 451 Times in 380 Posts
    Blog Entries
    12
    Rep Power
    93
    Interesting piece but I'm not sure about scheduled tasks and scripts to simply get sims working with AD. Seems a bit unreliable to me.

  5. #4


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    Quote Originally Posted by ittech View Post
    Interesting piece but I'm not sure about scheduled tasks and scripts to simply get sims working with AD. Seems a bit unreliable to me.
    The only alternative I can think would be to remove AD altogether and use SIMS as a backend directory service for SAMBA.
    Are Windows scheduled tasks that unreliable?

  6. #5
    mrforgetful's Avatar
    Join Date
    May 2006
    Posts
    1,639
    Thank Post
    7
    Thanked 15 Times in 15 Posts
    Rep Power
    23
    Do we need to use this part? We dont' use Kixstart scripts...


    Required Logon Script Changes
    --------------------------------------------------------------------------------

    The below code needs to be added to the beginning of the Kixtart Logon Script.
    This will check the current time and see if the user belongs to a group that has restricted computer access.
    If the user has logged on during a restricted time a message box will be displayed informing of this and then forcefully log them off

  7. #6
    penfold_99's Avatar
    Join Date
    Feb 2008
    Location
    East Sussex
    Posts
    985
    Thank Post
    58
    Thanked 165 Times in 117 Posts
    Rep Power
    68
    Quote Originally Posted by ittech View Post
    Interesting piece but I'm not sure about scheduled tasks and scripts to simply get sims working with AD. Seems a bit unreliable to me.
    Could you explain how you think they are unreliable?

  8. #7
    penfold_99's Avatar
    Join Date
    Feb 2008
    Location
    East Sussex
    Posts
    985
    Thank Post
    58
    Thanked 165 Times in 117 Posts
    Rep Power
    68
    Quote Originally Posted by mrforgetful View Post
    Do we need to use this part? We dont' use Kixstart scripts...


    Required Logon Script Changes
    --------------------------------------------------------------------------------

    The below code needs to be added to the beginning of the Kixtart Logon Script.
    This will check the current time and see if the user belongs to a group that has restricted computer access.
    If the user has logged on during a restricted time a message box will be displayed informing of this and then forcefully log them off
    Hi,

    Do you run a batch file or vbscript for a login script?

    If you use a batch file you would need to implement kix, for vbscript it will need to be converted.

    NOTE: This section is only needed if you want to implement SIMS2AD Access Manager and is not required if you only want use SIMS2AD.

  9. #8
    mrforgetful's Avatar
    Join Date
    May 2006
    Posts
    1,639
    Thank Post
    7
    Thanked 15 Times in 15 Posts
    Rep Power
    23
    We use a standard login script not vb.

    The functionality I'm looking for is so that Moodle will have their timetable from SIMS.net.

    Currently Moodle is already tied into our AD using ldap but SIMS is completely separate from both.

  10. #9


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    Quote Originally Posted by mrforgetful View Post
    We use a standard login script not vb.

    The functionality I'm looking for is so that Moodle will have their timetable from SIMS.net.

    Currently Moodle is already tied into our AD using ldap but SIMS is completely separate from both.
    you don't need the access manager part. The SIMS2AD access manager is an addon that allows staff to enable/disable students accounts or give them a logons at certain times. The logon script simply checks the correct group membership and logs them off.

  11. 2 Thanks to CyberNerd:

    mrforgetful (6th January 2009), penfold_99 (6th January 2009)

  12. #10
    mrforgetful's Avatar
    Join Date
    May 2006
    Posts
    1,639
    Thank Post
    7
    Thanked 15 Times in 15 Posts
    Rep Power
    23
    Cheers I shall look into this at some point then

  13. #11

    Join Date
    Feb 2009
    Location
    Hertfordshire
    Posts
    8
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hi,
    were you successful in getting the timetables acrossed into moodle?

    We have followed the guide and our timetables are all blank. Did you come acrossed the same problem and if so what did you need to do to get them reading them?

    Or could you explain how the mechanism of reading the timetables works? All of the views appear to be working in SQL Server management studio except for dob.vbs_admanager, do you think this would have any bearing on the problem?

    We are also not getting course enrolment coming acrossed.

    My feeling is we must have login credentials wrong somewhere but not sure where to look.

  14. #12


    Join Date
    Oct 2006
    Posts
    3,414
    Thank Post
    184
    Thanked 356 Times in 285 Posts
    Rep Power
    149
    Has anyone managed to get the SIMS2AD bit working? getting the error
    Code:
    Line:502
    The specified directory service attribute or value does not exist
    Code: 8007200A
    The section of code this relates to is (Line 502 in bold)

    Code:
    if intCounter = 0 then
    			If USER_CREATION = TRUE then
    				'msgbox ArrStudents(STUDENT_USERNAME,count)
    				Set objContainer = GetObject("LDAP://" & strIntakeOUPrefix & ArrStudents(STUDENT_INTAKE_YEAR,count) & "," & strBaseOU  & "," & objRoot.Get("defaultNamingContext"))
    				Set objLeaf = objContainer.Create("User", "cn=" & ArrStudents(STUDENT_USERNAME,count))
    
    				objLeaf.displayName = ArrStudents(STUDENT_PREF_FORENAME,count) & " " & ArrStudents(STUDENT_PREF_SURNAME,count)
    				objLeaf.givenName  = ArrStudents(STUDENT_PREF_FORENAME,count)
    				If not isnull(ArrStudents(STUDENT_MIDNAME,count)) then
    					objLeaf.initials = ucase(Left(ArrStudents(STUDENT_MIDNAME,count),1))
    				end if
    				objLeaf.sn = ArrStudents(STUDENT_PREF_SURNAME,count)
    				objLeaf.Put "company", strSchool
    				if ArrStudents(STUDENT_REG,count) <> null then
    					objLeaf.Put "department", ArrStudents(STUDENT_REG,count)
    				end if
    				objLeaf.Put "description", array("Student " & ArrStudents(STUDENT_INTAKE_YEAR,count) & " / " & left(replace(ArrStudents(STUDENT_DOB,count),"/",""),4) & right(replace(ArrStudents(STUDENT_DOB,count),"/",""),2))
    				if ArrStudents(STUDENT_UPN,count) <> null then
    					objLeaf.Put "employeeId", ArrStudents(STUDENT_UPN,count)
    				end if
    				objLeaf.Put "employeeType", "STUDENT"
    				if FOLDER_CREATION = "SAMBA" then
    					objLeaf.Put "homeDirectory","\\" &  strServerComputer & "\" & ArrStudents(STUDENT_USERNAME,count)
    				elseif FOLDER_CREATION = "WINDOWS" then
    					objLeaf.Put "homeDirectory","\\" &  strServerComputer & "\" & ArrStudents(STUDENT_USERNAME,count) & "$"
    				end if
    				objLeaf.sAMAccountName = ArrStudents(STUDENT_USERNAME,count)
    				objLeaf.Put "profilePath", strProfilePath & ArrStudents(STUDENT_INTAKE_YEAR,count)
    				objLeaf.Put "scriptPath", strLogonScript
    				objLeaf.Put "userPrincipalName" ,  ArrStudents(STUDENT_USERNAME,count) & "@" & objSysInfo.DomainDNSName
    
    				If EmailService = True then
    					objLeaf.Put "mailNickname", ArrStudents(STUDENT_USERNAME,count)
    					objLeaf.Put "mail", ArrStudents(STUDENT_USERNAME,count) & "@" & strEmailDomain
    					objLeaf.Put "proxyAddresses", "SMTP:" & ArrStudents(STUDENT_USERNAME,count) & "@" & strEmailDomain
    					objLeaf.put "targetAddress","SMTP:" & ArrStudents(STUDENT_USERNAME,count) & "@" & strEmailDomain
    				End if
    				If TerminalService = True then
    					objLeaf.TerminalServicesProfilePath = strTerminalServicesProfilePath
    				end if
    				objLeaf.SetInfo
    
    				objLeaf.homeDrive = strHomeDrive
    				objLeaf.userAccountControl = ACCOUNT_ENABLED
    				objLeaf.pwdLastSet = 0
    				objLeaf.SetPassword left(replace(ArrStudents(STUDENT_DOB,count),"/",""),4) & right(replace(ArrStudents(STUDENT_DOB,count),"/",""),2)
    
    				objLeaf.SetInfo
    
    				call formatErrorMsg(ArrStudents(STUDENT_USERNAME,count)," - " & ArrStudents(STUDENT_PREF_FORENAME,count) & " " & ArrStudents(STUDENT_PREF_SURNAME,count) & " - " & left(replace(ArrStudents(STUDENT_DOB,count),"/",""),4) & right(replace(ArrStudents(STUDENT_DOB,count),"/",""),2) & " - " & ArrStudents(STUDENT_REG,count) & " - AD Account Created","Account Creation")
    
    
    				Set objUser = GetObject _
    					("LDAP://CN=" & ArrStudents(STUDENT_USERNAME,count) & "," & strIntakeOUPrefix & ArrStudents(STUDENT_INTAKE_YEAR,count) & "," & strBaseOU  & "," & objRoot.Get("defaultNamingContext"))
    
    				Set objGroup = GetObject _
    										("LDAP://CN="& ArrStudents(STUDENT_INTAKE_YEAR,count) & "," & strIntakeOUPrefix & ArrStudents(STUDENT_INTAKE_YEAR,count) & "," & strBaseOU  & "," & objRoot.Get("defaultNamingContext"))
    
    				objGroup.GetInfoEx Array("primaryGroupToken"), 0
    				intPrimaryGroupToken = objGroup.Get("primaryGroupToken")
    
    				objGroup.PutEx ADS_PROPERTY_APPEND, _
    						"member", Array("CN=" & ArrStudents(STUDENT_USERNAME,count) & "," & strIntakeOUPrefix & ArrStudents(STUDENT_INTAKE_YEAR,count) & "," & strBaseOU  & "," & objRoot.Get("defaultNamingContext"))
    				objGroup.SetInfo
    				objUser.Put "primaryGroupID", intPrimaryGroupToken
    				objUser.SetInfo
    
    				call formatErrorMsg(ArrStudents(STUDENT_USERNAME,count),"Added to Group " & ArrStudents(STUDENT_INTAKE_YEAR,count) ,"Account Creation")
    
    				for each arrUserGroups in arrUserDomainGroups
    						Set objGroup = GetObject("LDAP://CN=" & arrUserGroups &",CN=Users," & objRoot.Get("defaultNamingContext"))
    						objGroup.add(objLeaf.ADsPath)
    
    						call formatErrorMsg(ArrStudents(STUDENT_USERNAME,count),"Added to Group " & arrUserGroups,"Account Creation")
    
    				next

  15. #13
    penfold_99's Avatar
    Join Date
    Feb 2008
    Location
    East Sussex
    Posts
    985
    Thank Post
    58
    Thanked 165 Times in 117 Posts
    Rep Power
    68

    Post New Moodle Enrolment Plug-in, Timetable and Documentation Updates

    Hi All,

    I'm please to announce the release of the SIMS.net Erolment Plug-in for Moodle, this is modified version of the eternal database plug-in tailored to SIMS.net use.

    I have updated the SIMS.net Timetable Block to use this Plug-in instead of the external database plug-in.

    I have also revamped the documenation on Moodle Docs is has more detailed information about setting up FreeTDS for Linux and Windows.

  16. #14

    Join Date
    Apr 2009
    Location
    Stoke
    Posts
    81
    Thank Post
    24
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Can we integrate it with LDAP Capture, cause we are using LDAP Capture for authentication.

    Cheers

  17. #15
    penfold_99's Avatar
    Join Date
    Feb 2008
    Location
    East Sussex
    Posts
    985
    Thank Post
    58
    Thanked 165 Times in 117 Posts
    Rep Power
    68
    Quote Originally Posted by kieran8055 View Post
    Can we integrate it with LDAP Capture, cause we are using LDAP Capture for authentication.

    Cheers
    Can you expand on integrate?

    It shouldn't affect LDAP Capture as i haven't modified the ldap code just the configuration.

SHARE:
+ Post New Thread
Page 1 of 9 12345 ... LastLast

Similar Threads

  1. [SIMS] SIMS.Net Active Directory Integration
    By robknowles in forum MIS Systems
    Replies: 29
    Last Post: 4th October 2011, 03:54 PM
  2. Moodle Error log for LDAP integration
    By apearce in forum Virtual Learning Platforms
    Replies: 4
    Last Post: 19th November 2008, 01:36 PM
  3. Cancelled Intro Guide To Sims.net Thursday 20th Dec 10:30
    By russdev in forum General EduGeek News/Announcements
    Replies: 8
    Last Post: 13th March 2008, 10:31 PM
  4. Moodle LDAP integration
    By zag in forum Virtual Learning Platforms
    Replies: 4
    Last Post: 13th March 2008, 04:03 PM
  5. Moodle/SIMS integration
    By localzuk in forum Virtual Learning Platforms
    Replies: 23
    Last Post: 7th December 2007, 10:18 AM

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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