Connect to Oracle Hyperion's LDAP

hadinatayp

Well-known member
Joined
Feb 8, 2006
Messages
95
Programming Experience
Beginner
Hi all,
for the past 3 days i have been trying to connect to Oracle Hyperion's LDAP but untill today what i get is error message (Invalid DN syntax).

I've tried to connect to Oracle Hyperion LDAP using free sofware "LDAP Browser" it succeed, but i failed using .NET (although i'm using the same DN)

here is my code

VB.NET:
            Dim LdapConnection As LdapConnection

            LdapConnection = New LdapConnection("localhost:58089")
            LdapConnection.Credential = New System.Net.NetworkCredential("911", "password")

            Dim request As SearchRequest = New SearchRequest("DC=css,DC=hyperion,DC=com", "cn=911", Protocols.SearchScope.Subtree, "description")
            Dim response As DirectoryResponse = Nothing

            response = LdapConnection.SendRequest(request)

            MessageBox.Show(response.ResultCode)

As my reference whether my code is right or not, i tried to connect to Microsoft Active Directory using the same code (few changes) and it succeed below is the code
VB.NET:
   Dim LdapConnection As LdapConnection

            LdapConnection = New LdapConnection("localhost:389")
            LdapConnection.Credential = New System.Net.NetworkCredential("hadi-ds", "password")

            Dim request As SearchRequest = New SearchRequest("DC=hadinata,DC=com", "cn=hadi-ds", Protocols.SearchScope.Subtree, "name")
            Dim response As DirectoryResponse = Nothing

            response = LdapConnection.SendRequest(request)

            MessageBox.Show(response.ResultCode)

Does anybody know how to solve the problem?
Thanks.
Hadi.
 
Back
Top