agupta1
15 years agoContributor
JDBC Request for Ldap Server failing
I am trying to add a JDBC request for a Ldap server. I am using the JDBC-Ldap bridge driver from OctetString.
I have configured the connection string as :
jdbc:ldap://148.147.35.213:389/cn=agupta-home,ou=People,dc=Avaya/?SEARCH_SCOPE:=subTreeScope
I wasn't sure where to specify the user name which is cn=agupta-home,ou=People,dc=Avaya in this case, so i specified it in the connection string. I entered the password in the password box.
The connection to the server is successful.
However, the following sql query:
SELECT DN FROM subTreeScope;ou=People;DC=Avaya WHERE UserName='postmaster'
gives the following error:
jdbcLdap.jndi.SQLNamingException: No Such Object
Any one will have a clue why this is happening?
I have configured the connection string as :
jdbc:ldap://148.147.35.213:389/cn=agupta-home,ou=People,dc=Avaya/?SEARCH_SCOPE:=subTreeScope
I wasn't sure where to specify the user name which is cn=agupta-home,ou=People,dc=Avaya in this case, so i specified it in the connection string. I entered the password in the password box.
The connection to the server is successful.
However, the following sql query:
SELECT DN FROM subTreeScope;ou=People;DC=Avaya WHERE UserName='postmaster'
gives the following error:
jdbcLdap.jndi.SQLNamingException: No Such Object
Any one will have a clue why this is happening?