noIdea Guest
|
Posted: Tue Oct 28, 2003 12:35 pm Post subject: Re: password expiration ? |
|
|
I'm getting change password dialog. I don't want to by-pass
authentification. My problem is, that when I call TDatabase->Open() method,
some change password dialog appers on the screen. So Open method doesn't
throw any exception and it doesn't finish sice I don't close that dialog.
And problem is, that this dialog doesn't work. I mean I can enter new
password, but it stay unchanged. I can change password with ALTER USER, but
i need to know, what was entered into this dialog. I want to keep this
functionalty, but I want to show my own dialog, or i want to force mentioned
dialog to work. So this is my problem. It seems that mentioned dialog is
part of BDE. Because when I've tried to logon with different application
(without BDE) ORACLE throw exception. So how can I force BDE to genrate
exception or how can I force BDE to change password, when I enter new one. I
hope it's a clear now.
"Jayme Jeffman Filho" <jjeffman (AT) cpovo (DOT) net> wrote
| Quote: | Are you getting a change password dialog or just a login prompt ?
You must be a validate user at the Oracle server, it depends on the
configuration your Oracle DBA has made for you. If he or she has defined
you
must change your password every month your application must catch the
Oracle
"error" and pop up a dialog to change the password, otherwise you can't
get
access to the database. There is no way to by-pass the password
authentication on the Oracle server.
The SQL command to change password on the Oracle server is : "ALTER USER
yourname IDENTIFIED BY newpassword", you must be connected to the Oracle
server to run this command.
HTH
Jayme.
"noIdea" <noIdea (AT) mailbox (DOT) sk> wrote in message
news:3e2d3be2$1 (AT) newsgroups (DOT) borland.com...
Hi,
I'm used TDatabase component to access Oracle server. When I wants to
login,
and my password is expired, default dialog (not my own. it is may be
from
BDE or Oracle, I don't know) appears and ask me to change my password.
When
I type new password, it is not changed. How can I make it work to change
password, or how can I suppress this dialog (catch some event ?) to not
show
it.
TIA
noIdea
|
|
|