> For the complete documentation index, see [llms.txt](https://docs.collibra.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.collibra.com/data-quality-self-hosted/connections/authentication/create-a-krb5-conf-file.md).

# Create a krb5.conf file

Before you can authenticate connections with Kerberos, you need to create a storage space for your Kerberos configuration information. This section shows you how to create a krb5.conf file to store your Kerberos information.

## Steps

{% stepper %}
{% step %}
Open a terminal session.
{% endstep %}

{% step %}
Run the following command:

```
sudo vi /etc/krb5.conf
```

{% endstep %}

{% step %}
Ensure that you have the correct information for the following, as shown also in the example screenshot below:

1. default\_realm
2. default\_ccache\_name
3. \[realms]
4. kdc
5. \[domain\_realm]

![krb5.conf example](https://4121921244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWCrP7Albs8DfJjIQxUxw%2Fuploads%2Fgit-blob-884b99c483216fb8c69a198a612b4ca6a80fdb47%2Fdq-krb5-config-commands.png?alt=media)
{% endstep %}

{% step %}
Run the following command to add your hostname:

```
sudo vi /etc/hosts
```

{% endstep %}

{% step %}
Enter a hostname, for example `localhost`.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
Ensure that the host where the krb5.conf is configured can reach the KDC server.
{% endhint %}
