diff --git a/Dockerfile b/Dockerfile index cafbd2dbc..2f669e5e9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,6 +43,13 @@ RUN apk add --no-cache \ openssl1.1-compat-dev \ pango-dev \ pulseaudio-dev \ + util-linux-dev \ + ffmpeg-dev \ + krb5-libs \ + krb5 \ + krb5-dev \ + libgss \ + krb5-conf \ util-linux-dev # Copy source to container for sake of build @@ -85,7 +92,7 @@ ARG FREERDP_OPTS="\ -DWITH_DIRECTFB=OFF \ -DWITH_FFMPEG=OFF \ -DWITH_GSM=OFF \ - -DWITH_GSSAPI=OFF \ + -DWITH_GSSAPI=ON \ -DWITH_IPP=OFF \ -DWITH_JPEG=ON \ -DWITH_LIBSYSTEMD=OFF \ @@ -111,7 +118,11 @@ ARG FREERDP_OPTS="\ -DWITH_XRENDER=OFF \ -DWITH_XTEST=OFF \ -DWITH_XV=OFF \ - -DWITH_ZLIB=ON" + -DWITH_ZLIB=ON \ + -DWITH_KRB5=ON \ + -DKRB5_TRACE=/dev/stdout \ + -DDEBUG_NLA=ON \ + -DGSS_ROOT_FLAVOUR=MIT" ARG GUACAMOLE_SERVER_OPTS="\ --disable-guaclog" @@ -175,6 +186,12 @@ RUN apk add --no-cache \ terminus-font \ ttf-dejavu \ ttf-liberation \ + ffmpeg-dev \ + krb5-conf \ + krb5-libs \ + krb5-dev \ + krb5 \ + libgss \ util-linux-login && \ xargs apk add --no-cache < ${PREFIX_DIR}/DEPENDENCIES @@ -186,6 +203,7 @@ ARG UID=1000 ARG GID=10001 RUN groupadd --gid $GID guacd RUN useradd --system --create-home --shell /sbin/nologin --uid $UID --gid $GID guacd +COPY ./src/guacd-docker/krb5.conf /etc/krb5.conf # Run with user guacd USER guacd diff --git a/src/guacd-docker/krb5.conf b/src/guacd-docker/krb5.conf new file mode 100644 index 000000000..aa7539f0d --- /dev/null +++ b/src/guacd-docker/krb5.conf @@ -0,0 +1,16 @@ +[libdefaults] + default_realm = PROCYON.COM + dns_lookup_kdc = true + dns_lookup_realm = true + +[realms] + PROCYON.COM = { + kdc = cez-private.procyon.com + admin_server = cez-private.procyon.com + master_kdc = cez-private.procyon.com + default_domain = procyon.com + } + +[domain_realm] + .procyon.com = PROCYON.COM + procyon.com = PROCYON.COM \ No newline at end of file