I tried the same combination of _Bind DN_ (`cn=RosenbeF,ou=IT,o=Jena`) and _Base DN_ (`o=Jena`) which allows me to connect using JXplorer and added the `-v` parameter to your command line:
```
# /opt/opendj/bin/ldapsearch -v -h ldapserver.jena.de -p 389 -s sub -T -D 'cn=RosenbeF,ou=IT,o=Jena' -j /tmp/.bpw -b 'o=Jena' -z 5 '(objectclass=*)'
[30/01/2017:15:20:32 +0000] category=TOOLS seq=0 severity=FINEST msg=Connect Error exception=LDAPConnectionException: Connect Error (LDAPConnection.java:514 LDAPConnection.java:611 LDAPConnection.java:239 LDAPSearch.java:1520 LDAPSearch.java:549)
Connect Error
Result Code: 91 (Connect Error)
```
I also tried all other bind/base DN combinations I could imagine - all with the same result:
- `-D 'cn=RosenbeF,ou=IT,o=Jena' -b 'o=Jena'`
- `-D 'cn=RosenbeF,ou=IT' -b 'o=Jena'`
- `-D 'cn=RosenbeF' -b 'o=Jena'`
- `-D 'cn=RosenbeF' -b 'ou=IT,o=Jena'`
What else could I do?