sqlserver.ad.domain.company.com is the address of your SQL server in the Active Directory domain.
1433 is the port number of your SQL server.
libgssapi_krb5.so is an existing Kerberos implementation on the system that is present and available through the library path. On AIX®, use the following format: GSSClient=libgssapi_krb5.a(libgssapi_krb5.a.so)
Update the Kerberos configuration file, krb5.conf, on the Linux or UNIX machine. You can typically find the file in /etc or /etc/krb5. Add the following entries to the configuration file:
where the Kerberos realm is your Active Directory domain name, which you must specify in upper case. kdc=adserver.ad.domain.company.com is the name of your host that you are running the Key Distribution Center for the Kerberos realm.
Use the kinitusername command, where username is the user name that will be used to connect to the SQL server, to test that the krb5.conf file is set up to acquire a Ticket Granting Ticket for the user name.
Ensure that a Service Principal Name (SPN) for the SQL Server service is registered in the Active Directory. On starting, the SQL Service database engine normally attempts to register an SPN but if the SPN has not already been registered, issue the setspn command on the Active Directory, as in the following example:
where sqlserver.ad.domain.company.com:1433 is the address and port number of your SQL server.
Open SQL Server Management Studio, and grant SQL Server
login permission to the domain user on the server and on the database
that you specified in the odbc.ini file in a
previous step.