by Emma Richardson.
So user is able to log in on second server but not all of their user data comes across from ldap?
The error you are receiving - is that a Moodle error (moodle debugging is turned on) or is that a php error (debugging turned on in php.ini)? If that is a php error, turn on Moodle debugging to full developer and see if that brings up anything else...
Are you using the same bind user? Have you double and triple checked that your ldap config is EXACTLY the same on both servers?
If only partial data, check your mappings..
Did you import the certificate correctly to both servers?