By: Praveen Srinivasan user 27 Oct 2020 at 7:41 a.m. CDT

2 Responses
Praveen Srinivasan gravatar
Hi Team, I've installed GLUU Docker version by following this link [GLUU Docker Edition](http://https://gluu.org/docs/gluu-server/4.2/installation-guide/install-docker/). GLUU is working fine When we install we will give admin password, but when I try to search anything in ldap it only accepts empty password. When we do ldapsearch, it is not working. The command I gave (Got this from Official documentation page): ``` docker exec -ti ldap /opt/opendj/bin/ldapsearch \ > -h localhost \ > -p 1636 \ > -Z \ > -X \ > -D "cn=directory manager" \ > -b "o=gluu" \ > -s base \ > -T "objectClass=*" ``` Output: ``` An error occurred while parsing the command-line arguments: At least 1 unnamed trailing arguments are required in the argument list, but too few were provided See "ldapsearch --help" to get more usage help ``` Can you tell me what I did wrong?

By Isman Firmansyah staff 27 Oct 2020 at 11:58 a.m. CDT

Isman Firmansyah gravatar
Hi Praveen, Can you try this: ``` docker exec -ti ldap /opt/opendj/bin/ldapsearch -h localhost -p 1636 -Z -X -D "cn=directory manager" -b "o=gluu" -w $LDAP_PASSWORD -s base "objectClass=*" ``` Thanks,

By Praveen Srinivasan user 28 Oct 2020 at 3:48 a.m. CDT

Praveen Srinivasan gravatar
Hi Isman, Thank you, it is working fine now. I think it needs document update.