diff --git a/Dockerfile.kdc b/Dockerfile.kdc index 3a6c8b2..10e1344 100644 --- a/Dockerfile.kdc +++ b/Dockerfile.kdc @@ -2,7 +2,7 @@ FROM opensuse/leap:15.6 AS ref_repo RUN zypper --non-interactive mr -e -a &&\ zypper --non-interactive --gpg-auto-import-keys ref --force && \ - zypper --non-interactive in git-core vim tcpdump iputils iproute2 libopenssl-3-devel openldap2-devel \ + zypper --non-interactive in git-core vim tcpdump iputils iproute2 libopenssl-3-devel openldap2_5-devel \ flex bison autoconf gettext-tools libtool make gcc awk gcc-c++ python3 strace gdb RUN pushd /root/ && git clone https://github.com/krb5/krb5.git && popd @@ -31,8 +31,6 @@ RUN pushd /root/krb5/src && autoreconf -fi && ./configure \ --with-crypto-impl=openssl \ --without-lmdb \ --with-ldap \ - --with-pam \ - --without-selinux \ --disable-rpath \ --disable-static \ --enable-shared \ diff --git a/libkrimes/src/ccache/cc_keyring.rs b/libkrimes/src/ccache/cc_keyring.rs index 55ad362..41ca10e 100644 --- a/libkrimes/src/ccache/cc_keyring.rs +++ b/libkrimes/src/ccache/cc_keyring.rs @@ -79,12 +79,12 @@ use crate::proto::{EncTicket, KdcReplyPart, KerberosCredentials, Name}; use binrw::{binread, binwrite}; use binrw::{BinReaderExt, BinWrite}; +use crypto_glue::rand::{self, distr::Alphanumeric, RngExt}; use errno::Errno; use keyutils::keytypes::user::User; use keyutils::SpecialKeyring; use keyutils::{Key, Keyring}; use keyutils_raw::{keyctl_get_keyring_id, keyctl_get_persistent}; -use crypto_glue::rand::{self, distr::Alphanumeric, RngExt}; use std::fmt::Display; use std::ops::{Deref, DerefMut}; use std::time::Duration;