I\'ve following problem with my php script:
PHP Warning: ldap_bind(): Unable to bind to server: Can\'t contact LDAP server in ....
Connect opens the session. Bind is what actually authenticates you. Thus you connected but did not login with valid credentials.