Paul's Programming Notes
PostsRSSGithub

Catch ldap_bind(): Unable to bind to server: Invalid credentials

06 Nov 2013

I used the tip from this page: http://bytes.com/topic/php/answers/600903-ldap_bind-warning-instead-false

“You can get around this if you supress warning and error messages by putting a @ in front of the function name:

$ldapbind = @ldap_bind($ldapconn, $ldaprdn, $ldappass);”

php

Related posts

  • DIY NAS 13 Mar 2022
  • Raspberry Pi Zero Not Connecting to Unifi AP 27 Dec 2021
  • PHP - max_execution_time doesn't work for socket operations 02 Sep 2016
© 2026. All rights reserved.