December 14, 2016 at 12:27 pm #14810bilaluseanParticipant
I got below Unable to authenticate to datastore error while openAm configuration
below one is my status of opendj
any helps would be appreciate.
Thanks!December 14, 2016 at 12:32 pm #14813Brad TumyParticipant
I assume you’ve checked the usual suspects?
– Is the DJ instance currently running (netstat -an | grep 389)
– Are you sure that the password is correct?
– Can you confirm that you can connect via command (e.g. Ldapbind or ldapsearch) or have you tried using an ldap client (e.g. Apache Directory Studio)?
– Depending on your OS and/or firewall rules (e.g. RHEL) could port 389 be blocked?December 14, 2016 at 12:51 pm #14814bilaluseanParticipant
Thanks for the quick reply.
netstat and telnet both point out correctly so I don’t have firewall issue.
When I check
./statusin opendj it ask password and it accept my password so password also correct
I believe may be I did mistake in opendj configuration. I am new to this so I can’t found it easily.
below one is my try for test with ldapsearch
ldapsearch -x -D "dc=forge,dc=gworks,dc=mobi" -W -H forge.gworks.mobi -b "dc=forge,dc=gworks,dc=mobi"
it throws like
Could not parse LDAP URI(s)=forge.gworks.mobi (3)December 14, 2016 at 1:45 pm #14817Brad TumyParticipant
It might be the domain name, not really sure. One way to test is to edit the /etc/hosts and change to something like ldap.example.com (3 character TLD vs 4 character). Test with that and see if your results are any different.
Also, “-D” is the bindDN (e.g. username … I would expect something like “uid=jdoe,ou=people,dc=forge,dc=gworks,dc=mobi”) in your ldapsearch you specified a suffix and not an entry.December 15, 2016 at 9:29 am #14828LudoModerator
The ldapsearch command used is the Linux command which expects the -H parameter to be an LDAP URI i.e. ldap://forge.gworks.mobi/
You might want to use the OpenDJ command line utilities, located under your instance/bin directory, which have different options and parameters but are fully documented in OpenAM and OpenDJ manuals.May 18, 2017 at 4:03 pm #17396ImiParticipant
I have the same problem. Did you find any solution?
You must be logged in to reply to this topic.