Skip to content

Commit

Permalink
Z
Browse files Browse the repository at this point in the history
  • Loading branch information
joanlopez committed May 29, 2024
1 parent a488511 commit aa35d4a
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/testingv8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,59 @@ jobs:
go run -tags="examples" examples/example.go
id: examples

- name: Configure krb5.conf
run: |
echo "[libdefaults]
default_realm = TEST.GOKRB5
dns_lookup_realm = false
dns_lookup_kdc = false
ticket_lifetime = 24h
forwardable = yes
default_tkt_enctypes = aes256-cts-hmac-sha1-96
default_tgs_enctypes = aes256-cts-hmac-sha1-96

[realms]
TEST.GOKRB5 = {
kdc = 127.0.0.1:88
admin_server = 127.0.0.1:749
default_domain = test.gokrb5
}
SUB.TEST.GOKRB5 = {
kdc = 127.0.0.1:288
admin_server = 127.0.0.1:749
default_domain = sub.test.gokrb5
}
RESDOM.GOKRB5 = {
kdc = 127.0.0.1:188
admin_server = 127.0.0.1:749
default_domain = resdom.gokrb5
}

[domain_realm]
.test.gokrb5 = TEST.GOKRB5
test.gokrb5 = TEST.GOKRB5
.sub.test.gokrb5 = SUB.TEST.GOKRB5
sub.test.gokrb5 = SUB.TEST.GOKRB5
.resdom.gokrb5 = RESDOM.GOKRB5
resdom.gokrb5 = RESDOM.GOKRB5

[logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log

[appdefaults]
pam = {
debug = false
ticket_lifetime = 36000
renew_lifetime = 36000
forwardable = true
krb4_convert = false
}" | sudo tee /etc/krb5.conf

- name: Display krb5.conf
run: cat /etc/krb5.conf

- name: Run
run: |
echo "passwordvalue" | kinit [email protected]
Expand Down

0 comments on commit aa35d4a

Please sign in to comment.