Public Repository

Last pushed: 7 months ago
Short Description
Fedora24 + herramientas + kerberos
Full Description

Contiene:

  • ivanmadero/fedora24:fedora
  • krb5-server
  • bind-utils

Arranque:
(script) /opt/run.sh
# Comprueba que la ip del kserver01.edt.org sea 172.17.0.2, sino modifica /etc/hosts

Configuraciones:
-
/etc/krb5.conf
includedir /etc/krb5.conf.d/
[logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log
[libdefaults]
dns_lookup_realm = false
ticket_lifetime = 24h
renew_lifetime = 7d
forwardable = true
rdns = false
default_realm = EDT.ORG
[realms]
EDT.ORG = {
kdc = kserver01.edt.org
admin_server = kserver01.edt.org
}
[domain_realm]
.edt.org = EDT.ORG
edt.org = EDT.ORG
-
/etc/hosts
172.17.0.2 kserver01.edt.org
-
KDC database master key: "masterkey"
-
/var/kerberos/krb5kdc/kadm5.acl
*/admin@EDT.ORG *
batman#EDT.ORG *
-
/usr/sbin/kadmin.local
kadmin.local: addprinc batman
WARNING: no policy specified for batman@EDT.ORG; defaulting to no policy
Enter password for principal "batman@EDT.ORG": batman
Re-enter password for principal "batman@EDT.ORG":
Principal "batman@EDT.ORG" created.
kadmin.local: addprinc admin/admin
WARNING: no policy specified for admin/admin@EDT.ORG; defaulting to no policy
Enter password for principal "admin/admin@EDT.ORG": admin
Re-enter password for principal "admin/admin@EDT.ORG":
Principal "admin/admin@EDT.ORG" created.
kadmin.local: addprinc pere
WARNING: no policy specified for pere@EDT.ORG; defaulting to no policy
Enter password for principal "pere@EDT.ORG": pere
Re-enter password for principal "pere@EDT.ORG":
Principal "pere@EDT.ORG" created.
kadmin.local: addprinc marta
WARNING: no policy specified for marta@EDT.ORG; defaulting to no policy
Enter password for principal "marta@EDT.ORG": marta
Re-enter password for principal "marta@EDT.ORG":
Principal "marta@EDT.ORG" created.
kadmin.local: addprinc anna
WARNING: no policy specified for anna@EDT.ORG; defaulting to no policy
Enter password for principal "anna@EDT.ORG": anna
Re-enter password for principal "anna@EDT.ORG":
Principal "anna@EDT.ORG" created.
kadmin.local: addprinc julia
WARNING: no policy specified for julia@EDT.ORG; defaulting to no policy
Enter password for principal "julia@EDT.ORG": julia
Re-enter password for principal "julia@EDT.ORG":
Principal "julia@EDT.ORG" created.
-

Docker Pull Command
Owner
ivanmadero

Comments (0)