-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Kerberos. Add docs about running on Mac (#10)
* Kerberos. Add docs about running on Mac * Fix typos in starting line --------- Co-authored-by: vrnsky <[email protected]>
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
||
``` | ||
|