- just return true when already connected. This has   two main reasons:   - comply with behaviour from rdbms-API, re-connects will also just return     TRUE   - prevent accidential re-connecting; in this case, a new connection is being     opened, but possibly no binding takes place, so we have an anonymous connection.     Anonymous connections will still be able to search anywhere but just not see     results they have no access to, no permission exceptions will occur (that is how     LDAP works), so there is a big potential for those mistakes to remain unnoticed     until too late.
- just return true when already connected. This has
  two main reasons:
  - comply with behaviour from rdbms-API, re-connects will also just return
    TRUE
  - prevent accidential re-connecting; in this case, a new connection is being
    opened, but possibly no binding takes place, so we have an anonymous connection.
    Anonymous connections will still be able to search anywhere but just not see
    results they have no access to, no permission exceptions will occur (that is how
    LDAP works), so there is a big potential for those mistakes to remain unnoticed
    until too late.

git-svn-id: 526f3b90ad6d9b1dfe840af828070ca3d99521ac@7901 d2cacbed-c0f6-0310-851a-9dad52fc623a

johannes85/core