[Date Prev][Date Next] [Chronological] [Thread] [Top]

About JDBC-LDAP Bridge

I am trying to use Octetstring JDBC-LDAP bridge to connecto to Microsoft ADS server. I got two problems:
1. I follow the instruction and use the example URL format to connect to the server but it only works when I take off the baseDn part, for example:
"jdbc:ldap://myorg.com/?SEARCH_SCOPE:=subTreeScope"; WORKS!
"jdbc:ldap://myorg.com/o=myorg.comSEARCH_SCOPE:=subTreeScope"; LDAP ERROR CODE 1

2. When I do the SQL Query I have to use the whole URL to specify the entries and it always returns null value, for example:
SELECT sn FROM ldap://myorg.com/o=myorg.com?SEARCH_SCOPE:=subTreeScope instead of 
SELECT sn FROM o=myorg.com
Is there anything wrong with my syntax or the bridge?

Please help me!!