File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM centos:6.6
1+ FROM centos:7
22MAINTAINER SequenceIQ
33
4- # EPEL
5- RUN rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
6-
74# kerberos
85RUN yum install -y krb5-server krb5-libs krb5-auth-dialog krb5-workstation
96
107EXPOSE 88 749
118
129ADD ./config.sh /config.sh
1310
14- ENTRYPOINT ["/config.sh" ]
11+ ENTRYPOINT ["/config.sh" ]
Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ create_config() {
3434 dns_lookup_realm = false
3535 dns_lookup_kdc = false
3636 ticket_lifetime = 24h
37- renew_lifetime = 7d
3837 forwardable = true
3938
4039[realms]
@@ -56,16 +55,8 @@ create_db() {
5655start_kdc () {
5756 mkdir -p /var/log/kerberos
5857
59- /etc/rc.d/init.d/krb5kdc start
60- /etc/rc.d/init.d/kadmin start
61-
62- chkconfig krb5kdc on
63- chkconfig kadmin on
64- }
65-
66- restart_kdc () {
67- /etc/rc.d/init.d/krb5kdc restart
68- /etc/rc.d/init.d/kadmin restart
58+ /usr/sbin/krb5kdc -P /var/run/krb5kdc.pid
59+ /usr/sbin/_kadmind -P /var/run/kadmind.pid
6960}
7061
7162create_admin_user () {
You can’t perform that action at this time.
0 commit comments