博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
SingleSignOn ( SSO) in SAP HANA(SAP HANA中的单点登陆)
阅读量:6624 次
发布时间:2019-06-25

本文共 2546 字,大约阅读时间需要 8 分钟。

This blog will give you details on setting up Single sign on (SSO) with SAP Hana using Kerberos.

Why do we need SSO ?

By enabling SSO, users can directly login from BO ( or any Front end Application) & access Hana database without providing login credentials again

There are different teams involved for this set up ( This may change based on your organization structure)

1) System administrator needs to install Kerberos Client on Hana server

2) Active Directory & Service account set up is done by of Identity Management Administrator

3) Hana Administrator needs to set  up  the configuration & user creation

Note: I have greyed out server names & service account names in screen shots for security reasons

Kerberos Client Installation:

Please make sure that the Kerberos client & libraries are installed on the Hana Database server

 

Creation of service account:

Identity Management Administrator will need to create a service user & a Service Principal Name( SPN) for each host on the system . For scale out box, we need to create 1 SPN for each host . Please find screen shot

The SPN needs to have the following syntax:

hdb/ <Domain Name >@Kerberos realm name

<Domain Name>: fully qualified domain name of the host

Generating a key Tab :

ktpass -princ hdb/ <servername.Domain Name>@ <REALM> -mapuser  <Domain>\<serviceuser> -pass <password> -out <keytabfile >.keytab -ptype<PRINCIPAL> -crypto <CRYPTOGRAPHIC TYPE>

<PRINCIPAL> = KRB5_NT_PRINCIPAL

<CRYPTOGRAPHIC TYPE> = RC4-HMAC-NT

Using the above syntax key tab file is generated

Hana Admin configuration:

Login  as root & update the krb5.conf file. This is located at /etc/krb5.conf

Entries in the file

[libdefaults]

default_realm= <realm>

[realms]

<realm>={ kdc=<kdc_name>}

Where <realm> and <kdc name>are the names of your Kerberos realm and KDC.

Realm is your domain name in uppercase letters, such as DOMAIN_NAME.

Note : if you are not aware of the above parameters like realm , KDC Name , Domain Name please contact your Active directory Adminstrator

Import the key tab which was generated into Hana Box.

Make sure the permissions are changed

 

Creation of  user  in HANA:

This can be done via GUI screen or via sql syntax

CREATE USER Kiran IDENTIFIED EXTERNALLY AS ‘Kiran@Realm’ ;

Please assign the appropriate role to this user

While configuring the user in Hana studio , Please check the authentication by OS user as shown below

 

专注于企业信息化,最近对股票数据分析较为感兴趣,可免费分享股票个股主力资金实时变化趋势分析工具,股票交流QQ群:457394862
分类: 
本文转自沧海-重庆博客园博客,原文链接http://www.cnblogs.com/omygod/archive/2013/04/24/3039470.html,如需转载请自行联系原作者
你可能感兴趣的文章
VHDL语言中buffer与inout的区别
查看>>
关于OSPF的一些问题
查看>>
OpenCASCADE Shape Location
查看>>
squid的正向代理和反向代理
查看>>
重磅消息nginx支持js语言
查看>>
linux下命令与文件的查询
查看>>
第8章6节MonkeyRunner启动运行过程-启动Monkey 3
查看>>
SEO意识的网站设计:设计和SEO的完美结合可能么?
查看>>
IP 算法
查看>>
spring 自定义标签
查看>>
curl命令使用实例
查看>>
mysql设置密码,查询帮助,密码找回
查看>>
MySQL超时参数以及相关DataX数据同步案例分享
查看>>
zabbix监控Vcenter和ESXi主机
查看>>
交换机SPAN功能配置
查看>>
Linux之组管理
查看>>
Centos7永久关闭防火墙
查看>>
源码编译安装
查看>>
shell 中特殊符号
查看>>
基于RHEL6使用rsync构建镜像网站
查看>>