Sorry... I missed something.
You were using ldapsearch binary of symas. We can't use -h -p for openldap ldapsearch.
Instead we can use this (/tmp/.dspw has my password in below command):
```
ldap@ce-dev2:~$ /opt/opendj/bin/ldapsearch -h localhost -p 1636 -Z -X -D "cn=directory manager,o=gluu" -j /tmp/.dspw -b 'ou=appliances,o=gluu' -s one 'objectclass=*' inum
dn: inum=@!82A2.89A8.FE0E.90DE!0002!63A5.8790,ou=appliances,o=gluu
inum: @!82A2.89A8.FE0E.90DE!0002!63A5.8790
ldap@ce-dev2:~$
```