Error: "[1312] A specified logon session does not exist. It may already have been terminated" when DA3 clients attempt to run packages

Article:TECH109074  |  Created: 2005-01-21  |  Updated: 2005-01-03  |  Article URL http://www.symantec.com/docs/TECH109074
Article Type
Technical Solution

Issue



When you attempt to run packages on client computers using Windows Agent 6.x (also known as "DA3"), you see error messages similar to the following:

"wcontrol <1088> 13: (2005-02-22 13:53:40) CNetworkConnection::ConnectAsUsers - share: \\servername\r3rd_20 user: servername\smeclnt LocalName:"
"wcontrol <1088> 13: (2005-02-22 13:53:40) CNetworkConnection::Connect - remote: \\servername\r3rd_20 drive: (null) provider: Microsoft Windows Network user: [servername\smeclnt] pass: [********]. return: 1326"
"wcontrol <1088> 13: (2005-02-22 13:53:40) CNetworkConnection::ConnectAsUsers - share: \\servername\r3rd_20 user: servername\smeclnt LocalName:"
"wcontrol <1088> 13: (2005-02-22 13:53:40) CNetworkConnection::ConnectAsUsers - share: \\servername\r3rd_20 user: smeclnt LocalName:"
"wcontrol <1088> 13: (2005-02-22 13:53:40) CNetworkConnection::Connect - remote: \\servername\r3rd_20 drive: (null) provider: Microsoft Windows Network user: [smeclnt] pass: [********]. return: 1312"
"wcontrol <1088> 6: (2005-02-22 13:53:40) CAction::LoadDirectoryUNC - connect 3 failed. error: [1312] A specified logon session does not exist. It may already have been terminated. (1312)"

Note: \\servername may be replaced with \\domainname in the above messages, depending on the product configuration.


Solution



There appears to be a problem with ccmjass when certain combinations of characters are used in the server or domain smeclnt account. These certain combinations may cause the smeclnt account password to be improperly truncated when it is decrypted. This causes the errors messages shown above on the agents when they attempt to connect to the network shares on iCommand/CCM servers.

To work around this problem, download the file CheckPwd.exe to any workstation. CheckPwd.exe is a password validation utility that detects combinations that may cause decryption problems. Run it before changing your smeclnt password to validate your intended choice of password.


Note: There are two places where the smeclnt account must be synchronized. Please validate the password before changing either. For more information on synchronizing accounts, please see Changing the CCM smeclnt password.


Using CheckPwd.exe
Run the utility from a command prompt with the following syntax:

checkpwd

where is the string that you want to test as a valid password.




Technical Information
smeclnt password requirements

Following are the rules for setting the smeclnt password:

  • The length of the password must not exceed 32 characters.
  • Characters must have an ASCII value of 127 or less (refer to an ASCII table for further explanation)
  • The semicolon, colon, asterisk, and space characters are not allowed.



Example of valid password
The utility will return a value of zero and report success as in the following example:

C:\>checkpwd password
Password password is valid



Examples of invalid passwords
The utility will return a value of one and report failure as in the following examples:

C:\>checkpwd pa:sword
Illegal character ':' in password pa:sword at position 3

C:\>checkpwd paSsword
Encryption error on character 'S' in password paSsword at position 3

In the second example, the third character 'S' should be modified to prevent the encryption algorithm from creating an encrypted password that will cause this condition.


Note: "paSsword" is just an example for demonstration purposes, and is not actually an invalid password.




Legacy ID



2005032109080360


Article URL http://www.symantec.com/docs/TECH109074


Terms of use for this information are found in Legal Notices