Skip to content

Commit

Permalink
Kerberos. Add docs about running on Mac (#10)
Browse files Browse the repository at this point in the history
* Kerberos. Add docs about running on Mac

* Fix typos in starting line

---------

Co-authored-by: vrnsky <[email protected]>
  • Loading branch information
vrnsky and vrnsky authored Jul 3, 2024
1 parent 99905e5 commit d6425e4
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,33 @@ To acquire a ticket from your new domain, create a krb5.conf on "/etc" with the
```

By default Kerberos client on Apple laptops is having troubles to connect to KDC with following error message:
```
kinit [email protected]
[email protected]'s password:
kinit: krb5_get_init_creds: unable to reach any KDC in realm EXAMPLE.COM, tried 1 KDC
```

It happens because Kerberos client doesn't fall to TCP protocol to fix it, you have to change your krb5.conf file
```
[libdefaults]
dns_lookup_realm = false
ticket_lifetime = 24h
renew_lifetime = 7d
forwardable = true
rdns = false
default_realm = YOURREALM.FQDN
[realms]
YOURREALM.FQDN = {
kdc = tcp/localhost:88
admin_server = tcp/localhost:749
}
```

After that changes you can successfully run `kinit` command mentioned above

By Default just the user admin/admin@REALM is created; to test the setup, try to acquire the ticket with the following commands:

```
Expand Down

0 comments on commit d6425e4

Please sign in to comment.