Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: PL/SQL accessing LDAP server
Mark Bole wrote:
>
> It's been a while since I've used this, but is it possible your
> ldap_base isn't quite right? It would be easy to test without the
> "cn=Users" piece.
>
> -Mark Bole
I had tried that a couple times, but apparently with some other things wrong. I finally came up with a combination that works.
Thanks.
I now have:
ldap_base := 'ou=People,o=mycomp.com';
...
retval := DBMS_LDAP.search_st( my_session, ldap_base,
DBMS_LDAP.SCOPE_SUBTREE, 'employeeNumber=00123456', my_attrs, 0, my_timeout, my_message );Received on Thu Feb 17 2005 - 13:05:42 CST