Home » Developer & Programmer » Forms » HOST command for ldapcompare (Forms, 10.1.2.0.2, RH Linux)
HOST command for ldapcompare [message #379977] Thu, 08 January 2009 15:39 Go to next message
dlwixon
Messages: 92
Registered: September 2008
Member

I would like to use Oracle's ldapcompare after our java timer expires in forms.

The form will ask for the user's password.

We would then take the user and the password and use oracle's ldapcompare to verify the password.

I would like to do this with the HOST built-in.

Has anyone else done this or something like it?

I've used HOST to print labels but am not sure how to capture the results from ldapcompare.
Re: HOST command for ldapcompare [message #380399 is a reply to message #379977] Sun, 11 January 2009 18:44 Go to previous message
dlwixon
Messages: 92
Registered: September 2008
Member
The answer here is to use the host command with the ldapcompare text as the first parameter:

HOST('$ORACLE_HOME/bin/ldapcompare <ldapcompare parms>',NO_SCREEN);

Then check the status with the following:

IF NOT FORM_SUCCESS THEN
<authentication failure logic>
ELSE
<authentication success logic>
END IF;


Piece of cake.

Previous Topic: webutil information (merged)
Next Topic: Wrong icon for warning message
Goto Forum:
  


Current Time: Fri Dec 09 01:59:55 CST 2016

Total time taken to generate the page: 0.09561 seconds