LDAP Sync PHP with MSSQL problem.

LDAP Sync PHP with MSSQL problem.

by Hossam eldin Reda Ibrahim -
Number of replies: 0

I've an issue in my Moodle LDAP sync.


when i try to run the command "C:\php\php.exe -f C:\moodle\auth\ldap\auth_ldap_sync_users.php". i get the error "<html><body><table align="center"><tr><td style="color:#990000; text-align:cente
r; font-size:large; border-width:1px; border-color:#000000; border-style:sol
id; border-radius: 20px; border-collapse: collapse; -moz-border-radius: 20px
; padding: 15px"><p>Error: Database connection failed.</p><p>It is possible that
the database is overloaded or otherwise not running properly.</p><p>The site ad
ministrator should also check that the database details have been correctly spec
ified in config.php</p></td></tr></table></body></html>"
i use Windows Server 2008 R2, Moodle 1.9.12+, WAMP, MS SQL 2008 R2.
and i use ldap authentication which is working fine with NTLM SSO.

Moodle is working fine and i've created testmssql.php file and connection is OK.


Please assist.

Best Regards,
Hossam

Average of ratings: -