SAP Knowledge Base Article - Preview

3472528 - Error in Creating Keytab While Configuring Kerberos SSO to SAP HANA DB

Symptom

While following the instructions in SAP note 1837331 - HowTo configure Kerberos SSO to SAP HANA DB using Microsoft Windows Active Directory, an error occurs when attempting to create a keytab using the command "python hdbkrbconf.py -k -s xxxxxx". 

------------------------------------------
-------- CREATE keytab ---------------------------------------------------------
Specify path for new keytab [default: /home/sidadm/etc/krb5_hdb.keytab]:

Writing keytab /home/sidadm/etc/krb5_hdb.keytab with encryption type rc4-hmac ...
FAILED
    ERROR:   Could not create keytab!
      COMMAND: (echo 'addent -password -p hdb/hostname.dir.com@DIR.COM -k 2 -e rc4-hmac';                    sleep 10;                    echo '<passwd>';                    sleep 10;echo 'wkt /home/sidadm/etc/krb5_hdb.keytab';                        echo q)|$DIR_EXECUTABLE/krb5/bin/ktutil
      RETURN CODE: 1
      STDERR: "/bin/sh: -c: line 0: unexpected EOF while looking for matching `''
/bin/sh: -c: line 2: syntax error: unexpected end of file"
--------------------------------------------------------------------------------
------------------------------------------

 "Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


Read more...

Environment

SAP HANA, platform edition 2.0

Product

SAP HANA, platform edition 2.0

Keywords

HANA, Kerberos SSO, hdbkrbconf.py, krb5_hdb.keytab, Could not create keytab, RETURN CODE: 1, unexpected EOF while looking for matching, syntax error, unexpected end of file
, KBA , HAN-DB-SEC , SAP HANA Security & User Management , Problem

About this page

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

Search for additional results

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