skip to main content
Configuring and connecting to data sources : Authentication
  

Try DataDirect Drivers Now

Authentication

The driver supports basic user ID and password authentication.
To configure the driver to use basic authentication:
*Set the Host Name (HostName) option to the name of the S/4HANA instance to which you want to connect. For example,
https://instance-name.s4hana.ondemand.com/.
*Set the User (User) option to specify the name of the user connecting to the instance.
*Set the Password (Password) option to specify the password for the user connecting to the instance.
Note: The User and Password options are not required to be stored in the connection string. They can also be sent separately by the application using the SQLConnect ODBC API. For SQLDriverConnect and SQLBrowseConnect, they will need to be specified in the connection string.
The following examples show the connection information required to establish a session using NTLM.
Connection string
DRIVER=DataDirect 8.0 SAP S4HANA;HostName=https://mycompany.s4hana.ondemand.com;User=jsmith;
Password=secret;
odbc.ini
[SAP S4HANA]
Driver=ODBCHOME/lib/ivs4hana28.so
...
Description=DataDirect 8.0 SAP S4HANA
...
HostName=https://mycompany.s4hana.ondemand.com
...
User=JSMITH
...
Password=secret
...