Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Easy Question: Test Connection

RE: Easy Question: Test Connection

From: Justin Cave (DDBC) <jcave_at_ddbcinc.com>
Date: Mon, 10 May 2004 21:20:57 -0600
Message-ID: <87E9F113CEF1D211A4C30090273018742BC8DA@ddbcinc.ddbc.local>


You would need to actually try to create a connection to the database with that user name & password. Why would you want to check the validity of a password other than when you are logging in?=20

Justin Cave
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Sinardy Xing Sent: Monday, May 10, 2004 8:58 PM
To: oracle-l_at_freelists.org
Subject: Easy Question: Test Connection

Hi all,
=20

How I test given password? (test connect)
=20

example
the logic is something like this
=20

username=3Dsystem;
password=3Dmanager;
=20

if ORACLE_TEST_CONNECT(username, password) < 0 then

    echo Wrong id or(and) password
else

    exp username/password
endif;
=20
=20

How to test the given username or password?
=20
=20
=20

thanks so much
=20

Sinardy
=20
=20
=20
=20



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------


----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request_at_freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Mon May 10 2004 - 22:14:33 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US