even though the retval is zero, when I execute the search_s afterwards, I get:
ORA-31202: DBMS_LDAP: LDAP client/server error: Operations error. 00000000: LdapErr: DSID-0C090627, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, vece
I'll have to see if there is an account I can use for the first bind. Many thanks for your help.