Commit 8bd2279e authored by Fabio Luchetti's avatar Fabio Luchetti
Browse files

Install MIT Kerberos server by default

parent 9e2d30b4
......@@ -31,8 +31,8 @@ RUN adduser eos-user
# these packages are not updated often.
RUN yum -y --nogpg install \
heimdal-server heimdal-workstation \
krb5-workstation yum-plugin-priorities \
createrepo initscripts less nano \
krb5-server krb5-workstation \
yum-plugin-priorities createrepo initscripts less nano \
git parallel compat-libf2c-34 libgfortran \
gdb gcc-c++ cmake3 libacl-devel perl-Test-Harness \
rpm-build bzip2 automake autoconf libtool sudo vim \
......
......@@ -20,7 +20,7 @@ COPY xrd.cf.* krb5.conf /etc/
ENV XRD_VERSION 4.5.0
RUN yum -y --nogpg update; \
yum -y --nogpg install \
initscripts less heimdal-server heimdal-workstation krb5-workstation \
initscripts less heimdal-server heimdal-workstation krb5-server krb5-workstation \
xrootd-$XRD_VERSION \
xrootd-client-$XRD_VERSION \
xrootd-client-libs-$XRD_VERSION \
......
......@@ -31,8 +31,8 @@ RUN adduser eos-user
# these packages are not updated often.
RUN yum -y --nogpg install \
heimdal-server heimdal-workstation \
krb5-workstation yum-plugin-priorities \
createrepo initscripts less nano \
krb5-server krb5-workstation \
yum-plugin-priorities createrepo initscripts less nano \
git parallel compat-libf2c-34 libgfortran \
gdb gcc-c++ cmake3 libacl-devel perl-Test-Harness \
rpm-build bzip2 automake autoconf libtool sudo vim \
......
......@@ -31,8 +31,8 @@ RUN adduser eos-user
# these packages are not updated often.
RUN yum -y --nogpg install \
heimdal-server heimdal-workstation \
krb5-workstation yum-plugin-priorities \
createrepo initscripts less nano \
krb5-server krb5-workstation \
yum-plugin-priorities createrepo initscripts less nano \
git parallel compat-libf2c-34 libgfortran \
gdb gcc-c++ cmake3 libacl-devel perl-Test-Harness \
rpm-build bzip2 automake autoconf libtool sudo vim \
......
......@@ -31,8 +31,8 @@ RUN adduser eos-user
# these packages are not updated often.
RUN yum -y --nogpg install \
heimdal-server heimdal-workstation \
krb5-workstation yum-plugin-priorities \
createrepo initscripts less nano \
krb5-server krb5-workstation \
yum-plugin-priorities createrepo initscripts less nano \
git parallel compat-libf2c-34 libgfortran \
gdb gcc-c++ cmake3 libacl-devel perl-Test-Harness \
rpm-build bzip2 automake autoconf libtool sudo vim \
......
#!/usr/bin/env bash
# Install MIT Kerberos server
yum install -y krb5-server
# Initialize the KDC database
kdb5_util create -r TEST.EOS -s -P testeos
......
......@@ -79,11 +79,7 @@ docker network create eoscluster.cern.ch || true
# Kerberos server creation and setup
echo -e "\n\n*** Kerberos server creation and setup"
docker run -dit -h eos-kdc.eoscluster.cern.ch --name eos-kdc --net=eoscluster.cern.ch --net-alias=eos-kdc $image
if [[ "$krb5" == "heimdal" ]]; then
docker exec -i eos-kdc /kdc.sh
else
docker exec -i eos-kdc /kdc_mit.sh
fi
[[ $krb5 == "mit" ]] && docker exec -i eos-kdc /kdc_mit.sh || docker exec -i eos-kdc /kdc.sh
# MQ server creation and setup
echo -e "\n\n*** MQ server creation and setup"
......@@ -96,10 +92,8 @@ docker exec -i eos-mq /eos_mq_setup.sh
# MGM server creation
echo -e "\n\n*** MGM server creation"
docker run --privileged -dit -h eos-mgm1.eoscluster.cern.ch --name eos-mgm1 --net=eoscluster.cern.ch --net-alias=eos-mgm1 --ulimit "core=-1" --security-opt "seccomp=unconfined" --sysctl net.ipv6.conf.all.disable_ipv6=0 $image
if [[ $with_qdb == 1 ]]; then
echo -e "\n\n*** QuarkDB server creation and setup"
# Namespace library which will be loaded by the MGM should be changed to enable QuarkDB mode
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment