;" in the SQLDriverConnect's connection s..." />
 
Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Mon, 14 Aug 2006 @ 19:32:06 GMT





     
  <Prev Next>   <<First <Prev Next> Last>>  




Subj:   Re: Password expiry with ODBC driver / Error Running Queries using JDBC driver
 
From:   Anomy Anom



<-- Anonymously Posted: Monday, August 14, 2006 14:23 -->

  This 'hanging' can be prevented by turning 'quiet mode' on, however, it also means that the user is not able to connect and change their password. Is there a way to retrieve this expired password state and allow the user to change their password?  


I understood your question as "I want to change the expired password but in "quiet mode" i.e., without having the pop-up asking new password.". Is that correct ?

If the ODBC DSN option "Run in Quiet Mode" is not selected, then whatever the ODBC API like SQLConnect/SQLDriverConnect you use, the pop-up for new password will be displayed. The only way to change password without the pop-up is, to use "PWD2=<new password>;" in the SQLDriverConnect's connection string. i.e., below is an example string

     DRIVER={Teradata};DBCNAME=<dbc name>;UID=<user name>;PWD=<current
     password>;PWD2=<new password>;

OR

     DSN=<ODBC DSN name>;UID=<user name>;PWD=<current password>;PWD2=<new
     password>;

If the current password is expired, the ODBC driver sends the new password by itself taking from PWD2.


:-)





     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
 
  Top Home Join Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky 
Last Modified: 30 Jun 2008