If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > changing expired Password over ODBC

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-18-04, 11:05
rladda rladda is offline
Registered User
 
Join Date: Oct 2004
Posts: 6
changing expired Password over ODBC

Hi,
I want to detect the expired password and change them via showcase ODBC for DB2 database.
I am connecting to the db2 database via ODBC through VB program.
Any help will be greatly appreciated.
Thnx.
Reply With Quote
  #2 (permalink)  
Old 10-20-04, 15:31
francis01 francis01 is offline
Registered User
 
Join Date: Jul 2004
Posts: 65
Wink

Hi Rladda:

I had that same problem in the past with my customers, because the changed
periodically their passwords (wich is a good practice).

This is not a formal solution to your question, but is a workaround that might help you.
1) Create a new user in the customer's system i.e.: USRMYAPP.
2) assign a password to this user with the option "never expire"
3) Grant all the required rights to these user in the databases of
the application.
4) Use this new user in your ODBC strings in your apps.

I have done it this way and never had that problem again.

Cheers.
Reply With Quote
  #3 (permalink)  
Old 10-21-04, 11:14
rladda rladda is offline
Registered User
 
Join Date: Oct 2004
Posts: 6
I don't have permissions to create a user in the db2 system, I can only connect to it remotely over VPN via ODBC.
Thanks for ur reply.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On