title: Connecting to LDAP in oracle using sAMAccountName
body: <p>i was trying to use <code>DBMS_LDAP</code> to connect to a ldap server to do authentication. </p>
  
  <p>My question is: </p>
  
  <p>Is it possible to use <code>sAMAccountName</code> to connect to the LDAP server? I'm getting the connection with the full name but wanted to do with the <code>sAMAccountName</code> but don't know how, i think <code>DBMS_LDAP.bind_s</code> and <code>DBMS_LDAP.simple_bind_s</code> don't permit the use of <code>sAMAccountName</code>.</p>
  
  <p>Thanks</p>