BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Re: password expiration ?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
noIdea
Guest





PostPosted: Tue Oct 28, 2003 12:35 pm    Post subject: Re: password expiration ? Reply with quote



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







Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (SQL Servers) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.