;" in the SQLDriverConnect's connection s..." />
|
Archives of the TeradataForumMessage Posted: Mon, 14 Aug 2006 @ 19:32:06 GMT
<-- Anonymously Posted: Monday, August 14, 2006 14:23 -->
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. :-)
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | |||||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | |||||||||||||||||||||||||||||||||||||||||||||||||||