SAP Knowledge Base Article - Preview

2811013 - ct_connect() fails to connect to ASE with MIT Kerberos when a 2401 error occurs - SDK for SAP ASE

Symptom

  • Adaptive Server is configured with MIT Kerberos for identification and authentication, and "enable unicode conversion" configuration parameter is 0.
  • When isql_r with the following options tries to connect to the Adaptive Server, a 2401 error occurs and the login attempt fails.
    • -J option is set with a different charset from the server's charset and character set conversion is not available between the client's charset and the server's charset.
    • -V option is set.
    • -R option is set with a value corresponding to the server entry in Key Distribution Center (KDC).

Error sample:

$ isql_r -V -S<ASE name> -R<ASEname@REALM> -Jsjis
Msg 2401, Level 11, State 2:
Server '<ASE name>':
Character set conversion is not available between client character set 'sjis' and server character set 'iso_1'.
No conversions will be done.
CT-LIBRARY error:
        ct_connect(): protocol specific layer: external error: The attempt to connect to the server failed.
$


Read more...

Environment

  • SAP Sybase Software Developer Kit (SDK) 15.7
  • SAP Adaptive Server Enterprise (ASE) Software Developer Kit (SDK) 16.0
  • CT-Library

Product

Sybase SDK 15.7

Keywords

CR819614, CR#819614, 819614, 2401, character set, conversion, ct_connect, isql_r, isql_r64 , KBA , BC-SYB-SDK , SDK , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.