Issue 714

Open ldap connection to support both pooled and non-pooled connection factories.