cgydosh Posted January 16, 2015 Share Posted January 16, 2015 Hi, I haven't worked with PHP in years and was asked to debug something. Maybe you can help me out since I'm stuck. This error popped up when we upgraded from PHP 5.3 to 5.4. It is setting LDAP options. Here is the code: ldap_set_option($ldapconn, LDAP_OPT_PROTOCOL_VERSION, 3);ldap_set_option($ldapconn, LDAP_OPT_REFERRALS, 0) or die ("Could not set option referrals"); Both of these statement are throwing the following error message to the log. 52 is not a valid ldap link resource Anything I can check or look at? I am a little clueless here. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/293987-help-with-ldap-options/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.