View Poll Results: Is this documentation helpful?

Voters
30. You may not vote on this poll
  • Yes

    28 93.33%
  • No

    2 6.67%
+ Reply to Thread
Page 1 of 9 1 2 3 4 5 ... LastLast
Results 1 to 15 of 122

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

  Share/Bookmark
  1. #1

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation
    penfold_99's Avatar
    Join Date
    Feb 2008
    Location
    East Sussex
    Posts
    535
    Thank Post
    23
    Thanked 86 Times in 56 Posts
    Rep Power
    30

    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. 24 Thanks to penfold_99:

    addid (26-02-2009), alan-d (06-01-2009), apoth0r (11-03-2009), bossman (06-01-2009), CyberNerd (06-01-2009), danIT (05-01-2009), dhicks (22-06-2009), diggory (10-07-2009), Hecate (03-06-2009), Hokalus (09-03-2009), ICTNUT (28-04-2009), jamesreedersmith (30-11-2009), Jamman960 (12-01-2009), kieran8055 (11-05-2009), kmount (27-05-2009), MikeW (06-01-2009), nephilim (04-05-2009), Oops_my_bad (05-01-2009), rh91uk (13-03-2009), RobFuller (29-04-2009), Sam_Brown (16-09-2009), Soulfish (13-03-2009), Sylv3r (04-05-2009), User3204 (19-05-2009)

  3. #2

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation

    Join Date
    Dec 2005
    Location
    East Sussex
    Posts
    1,753
    Thank Post
    54
    Thanked 92 Times in 65 Posts
    Rep Power
    36

    Default

    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

    Reputation Reputation Reputation
    zag's Avatar
    Join Date
    Mar 2007
    Location
    Reading, UK
    Posts
    1,029
    Blog Entries
    2
    Thank Post
    93
    Thanked 52 Times in 41 Posts
    Rep Power
    18

    Default

    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

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation

    Join Date
    Jan 2006
    Posts
    4,454
    Thank Post
    143
    Thanked 366 Times in 286 Posts
    Rep Power
    84

    Default

    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

    Reputation
    mrforgetful's Avatar
    Join Date
    May 2006
    Posts
    1,626
    Thank Post
    7
    Thanked 15 Times in 15 Posts
    Rep Power
    14

    Default

    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

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation
    penfold_99's Avatar
    Join Date
    Feb 2008
    Location
    East Sussex
    Posts
    535
    Thank Post
    23
    Thanked 86 Times in 56 Posts
    Rep Power
    30

    Default

    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

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation
    penfold_99's Avatar
    Join Date
    Feb 2008
    Location
    East Sussex
    Posts
    535
    Thank Post
    23
    Thanked 86 Times in 56 Posts
    Rep Power
    30

    Default

    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

    Reputation
    mrforgetful's Avatar
    Join Date
    May 2006
    Posts
    1,626
    Thank Post
    7
    Thanked 15 Times in 15 Posts
    Rep Power
    14

    Default

    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

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation

    Join Date
    Jan 2006
    Posts
    4,454
    Thank Post
    143
    Thanked 366 Times in 286 Posts
    Rep Power
    84

    Default

    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 (06-01-2009), penfold_99 (06-01-2009)

  12. #10

    Reputation
    mrforgetful's Avatar
    Join Date
    May 2006
    Posts
    1,626
    Thank Post
    7
    Thanked 15 Times in 15 Posts
    Rep Power
    14

    Default

    Cheers I shall look into this at some point then

  13. #11

    Reputation

    Join Date
    Feb 2009
    Location
    Hertfordshire
    Posts
    8
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    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

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation

    Join Date
    Oct 2006
    Posts
    2,057
    Thank Post
    49
    Thanked 167 Times in 122 Posts
    Rep Power
    44

    Default

    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

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation
    penfold_99's Avatar
    Join Date
    Feb 2008
    Location
    East Sussex
    Posts
    535
    Thank Post
    23
    Thanked 86 Times in 56 Posts
    Rep Power
    30

    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

    Reputation

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

    Default

    Can we integrate it with LDAP Capture, cause we are using LDAP Capture for authentication.

    Cheers

  17. #15

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation
    penfold_99's Avatar
    Join Date
    Feb 2008
    Location
    East Sussex
    Posts
    535
    Thank Post
    23
    Thanked 86 Times in 56 Posts
    Rep Power
    30

    Default

    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.

+ Reply to Thread
Page 1 of 9 1 2 3 4 5 ... LastLast

Thread Information

Users Browsing this Thread

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

     

Similar Threads

  1. SIMS.Net Active Directory Integration
    By robknowles in forum MIS Systems
    Replies: 27
    Last Post: 16-12-2009, 01:19 PM
  2. Moodle Error log for LDAP integration
    By apearce in forum Virtual Learning Platforms
    Replies: 4
    Last Post: 19-11-2008, 12: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: 13-03-2008, 09:31 PM
  4. Moodle LDAP integration
    By zag in forum Virtual Learning Platforms
    Replies: 4
    Last Post: 13-03-2008, 03:03 PM
  5. Moodle/SIMS integration
    By localzuk in forum Virtual Learning Platforms
    Replies: 23
    Last Post: 07-12-2007, 09:18 AM

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