Yes, you may wanna install the dbms_ldap package in your database to connect to your directory (OID/OVD) and can query ldap users' and groups' data. Which version and what set of products are you using?
Please see this for reference.
Thank you for your reply, I am using OID 10gR3 with 10.2.0.4 db version.
That's fine. Just get the relevant documentation for this package from your version. This package had also been available in 9i and 10g versions.
see this link: