ok here goes....
1) TELNET returns
Code:
admin@Mivonks:~$ telnet 10.19.x.x 1433
Trying 10.19.x.x...
Connected to 10.19.x.x.
Escape character is '^]'.
2) tsql returns
Code:
admin@server:~$ tsql -S SERVERNAME -U user -P password
locale is "en_GB.UTF-8"
locale charset is "UTF-8"
1>
3) iSQL returns
Code:
admin@server:~$ isql servername user password
+---------------------------------------+
| Connected! |
| |
| sql-statement |
| help [tablename] |
| quit |
| |
+---------------------------------------+
SQL>
4) go to the block on moodle. click transfer students. does some stuff and comes back witht he following.
Code:
Transfer Completed Successfully
Transfer Log
No transfer errors occurred
Lookup Log
Lookup Failures For year 7
08studentname (last network login: 2008-12-18)
Query returned nothing:- SELECT NS.studentid ,NS.forename, NS.calledname, NS.surname, NS.leftschool, NS.dateleft, SU.classgroupid, SU.courseyear, SU.courseid FROM nstupersonal NS INNER JOIN students SU on NS.studentid=SU.studentid WHERE NS.setid='2008/2009' AND SU.setid='2008/2009' AND NS.studentId='3557'
above is just a sample of 1 student but it does this for every student!
so from the above error message i assume its getting the info from Active Directory. then requesting the data it needs from cmis but failing.
entering this statement directly on the SQL server works fine returning all the correct data.
Only thing i can think i have missed is i read something about the need to compile php with freetds. which i am pretty sure it is, but not sure if its configured properly?
still stuck but have a bit better understanding of whats going on now atleast.