When you configure a SAS 9.2 Metadata Server, the SAS® Deployment Wizard requests information for an SMTP server, including authentication information if needed. After the configuration is completed, if the authentication credentials need updating at a later time, changes to specific configuration files must be completed.
You might not be able to encode the password. This depends on which release of SAS you are using. So, the first step in updating the SMTP authentication information is to determine the exact release of SAS 9.2 that is in use. Start SAS 9.2 on the SAS Metadata Server. See the top of the log the entry, where it says "NOTE: SAS (r) Proprietary Software 9.2 (TS2Mx)."
If your release of SAS 9.2 is earlier than SAS 9.2 (TS2M3), your new password must be plain text and placed in the \SAS\config\Lev1\SASMeta\MetadataServer\sasv9.cfg file using the -emailpw option, as shown below.
-emailsys SMTP
-emailhost my_smtpserver.com
-emailport 25
-emailid "SASMeta - Metadata Server (Metadata - Lev1) <test@sas.com>"
-emailpw "mypassword"
If you are running SAS 9.2 (TS2M3), the new password can be encoded and placed in the \SAS\config\Lev1\SASMeta\MetadataServer\sasv9.cfg file using the -emailpw option.
To encode the password, restart SAS 9.2 and issue the following code:
proc pwencode in='my password';
run;
You then see an entry in the SAS log, such as the one shown below. Copy the encoded password and use this information as the -emailpw value.
{sas001}bXkgcGFzc3dvcmQ
NOTE: PROCEDURE PWENCODE used (Total process time):
real time 0.31 seconds
cpu time 0.08 seconds
-emailsys SMTP
-emailhost mailtest.sas.com
-emailport 25
-emailid "SASMeta - Metadata Server (Metadata - Lev1) <test@sas.com>"
-emailpw "{sas001}bXkgcGFzc3dvcmQ"
The new entry option in the config file overwrites the password used during the installation/configuration. For the change to take effect, restart the metadata server.
Operating System and Release Information
SAS System | SAS Metadata Server | z/OS | 9.21 | | 9.2 TS2M0 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.21 | | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.21 | | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.21 | | 9.2 TS2M0 | |
Microsoft Windows XP 64-bit Edition | 9.21 | | 9.2 TS2M0 | |
Microsoft® Windows® for x64 | 9.21 | | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.21 | | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.21 | | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Standard Edition | 9.21 | | 9.2 TS2M0 | |
Microsoft Windows Server 2003 for x64 | 9.21 | | 9.2 TS2M0 | |
Microsoft Windows Server 2008 for x64 | 9.21 | | 9.2 TS2M0 | |
Microsoft Windows XP Professional | 9.21 | | 9.2 TS2M0 | |
Windows Vista | 9.21 | | 9.2 TS2M0 | |
Windows Vista for x64 | 9.21 | | 9.2 TS2M0 | |
64-bit Enabled AIX | 9.21 | | 9.2 TS2M0 | |
64-bit Enabled HP-UX | 9.21 | | 9.2 TS2M0 | |
64-bit Enabled Solaris | 9.21 | | 9.2 TS2M0 | |
HP-UX IPF | 9.21 | | 9.2 TS2M0 | |
Linux | 9.21 | | 9.2 TS2M0 | |
Linux for x64 | 9.21 | | 9.2 TS2M0 | |
Solaris for x64 | 9.21 | | 9.2 TS2M0 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.