My Oracle Support Banner

How To Compare Userpassword Attribute Using DBMS_LDAP.compare_s API routine (Doc ID 820206.1)

Last updated on MAY 16, 2023

Applies to:

Oracle Internet Directory - Version 9.0.4 to 10.1.4 [Release 10gR1 to 10gR3]
Information in this document applies to any platform.
Information in this document applies to any platform.

Goal

This note provides an example of how to programmatically compare the userpassword attribute of a given user DN using the dbms_ldap.compare_s PL/SQL function.

Notes:
1. There is very little error handling in the example. It is a very simple code sample used to illustrate the necessary calls to compare userpassword.
2. The ldap server name, port, authentication value, etc., have been hard coded into the program. These will need to be changed before compiling/running the provided code on another system.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.