Change the MaxTokenSize on the server computer
Error:
The login packet used to open the connection is structurally invalid; the connection has been closed. Please contact the vendor of the client library
If you face error, this could be due to "MaxTokenSize ".
To change the MaxTokenSize on the server computer
- On the Start menu, click Run.
- Type regedit, and then click OK. (If the User Account Control dialog box appears, click Continue.)
- Navigate to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\Kerberos\Parameters.
- If the MaxTokenSize parameter is not present, right-click Parameters, point to New, and then click DWORD (32-bit) Value. Name the registry entry MaxTokenSize.
- Right-click MaxTokenSize, and then click Modify.
- In the Value data box type the desired MaxTokenSize value. I put 20,000 Decimal
Note:
Hexadecimal value ffff (decimal value 65535) is the maximum recommended token size. Providing this value would probably solve the problem, but could have negative computer-wide effects with regard to performance. We recommend that you establish the minimum MaxTokenSize value that allows for the largest token of any user in your organization and enter that value.
- Click OK.
- Close Registry Editor.
- Restart the computer.
No comments:
Write commentsPlease do not enter spam links