Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Password Change via ODBC

221658Feb 11 2003 — edited Feb 11 2003
I have a MS Access based application using Oracle 8i as
a back end database. The application uses ODBC to connect
to the database using Oracle user credentials (UserID and Password).

When new users are added, the DBA sets an initial password that is expired, so the user must change it the first time they attempt to log in. My user community is not very computer literate (i.e I can't tell them to first try to log in using SQLPlus - they won't know what I'm talking about). I need to provide a password change facility within the MS Access application.

I've already created a form to do so. It contains logic to make sure blank passwords are not entered, and that the new password is verified prior to sending an ALTER USER command to the Oracle database.

My problem is with the expired passwords. When I attempt to connect using an expired password using ODBC, the VBA script detects the password expired error and refuses the connection. Needless to say, the password change can't happen after that. Is there a way to do this?

I can post my code if necessary, but I'd rather not since my customer is extremely sensitive about this application.

Any help would be greatly appreciated!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 11 2003
Added on Feb 11 2003
1 comment
1,781 views