I was asked from my customer if any of our ODAC-based applications supports database connect via LDAP as an alternative to TNS.
Does ODAC support LDAP connect strings?
Regards,
Holger
LDAP support
-
- Posts: 56
- Joined: Mon 08 Nov 2004 19:01
- Location: Germany
Example, Prerequisites
I remember if I want to connect with ODAC without Sql*Net I have to set TOraSession.Options.Net := true. Is there nothing like that I must do to tell the session to use LDAP instead of TNS? How does the connect string look like in this case? I would assume a quoted list of node items like
"node1=value1, node2=value2, node3=value3"
Does Oracle Sql*Net handle it all, and I don't have to pass any information to ODAC that forces the LDAP way?
Currently, I set TOraSession.Options.Net automatically to true if there is a colon in the connection string. I am afraid it must be set manually now.
Do you now if a LDAP connection string can contain colons?
"node1=value1, node2=value2, node3=value3"
Does Oracle Sql*Net handle it all, and I don't have to pass any information to ODAC that forces the LDAP way?
Currently, I set TOraSession.Options.Net automatically to true if there is a colon in the connection string. I am afraid it must be set manually now.
Do you now if a LDAP connection string can contain colons?
-
- Posts: 56
- Joined: Mon 08 Nov 2004 19:01
- Location: Germany