Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Setting unicodePwd attribute using DBMS_LDAP

user-frederic.bouchard_8526556Dec 8 2004 — edited Dec 9 2004
Hi,

I am using the dbms_ldap API to create, modify and delete users in Microsoft Active Directory. It's working great !!! Execept on thing...

I'm not able to modify the "unicodePwd" attribute. I always get "constraint violation error" when I try to modified it trought dbms_ldap API. Maybe it's because I'm not formatting the value of the attribute correctly. How do I format the password in BER (Basic encoding rules) format in PL/SQL.

I have succesfully connected via SSL to port 636 using dbms_ldap....The only thing, it's how to format the password using dbms_ldap api or other pl/sql api, procedure, ... ???


Here's the configuration of my Active Directory
===============================================
- Windows 2000 server SP4

- Certificate CA authority installed successfully + certificate was delivered to the server (client & server authentification)

- I'm able to connect to active directory using the port 636. (SSL)

- I'm able to modify the password using the tool "ldifde -i -f xxxxx -t 636 -s ...."



Can someone help me ?

Thanks in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 6 2005
Added on Dec 8 2004
2 comments
1,413 views