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

  • Yii Google Chart Extension 05 Nov 2013
  • Render View From Another Controller In Yii 31 Oct 2013
  • CSqlDataProvider Using Special Data Attribute - Yii 23 Oct 2013
© 2026. All rights reserved.