diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-10-16 13:23:48 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-10-17 13:15:30 +0200 |
commit | 227f2c32be95121d384077789ec8e0e11735e78e (patch) | |
tree | 19933244cc553bad0a1d33a87bcadabeb721bf2c /src/providers/data_provider.h | |
parent | 4f7ea152f1dc8d8d6851dbb14773d019a2f7f44f (diff) | |
download | sssd-227f2c32be95121d384077789ec8e0e11735e78e.tar.gz sssd-227f2c32be95121d384077789ec8e0e11735e78e.tar.bz2 sssd-227f2c32be95121d384077789ec8e0e11735e78e.zip |
BUILD: Link libsss_krb5_common.so to libkeyutils.so
The symbol add_key is used by
src/providers/krb5/krb5_delayed_online_authentication.c
which is part of libsss_krb5_common.so
Fixes following error:
[sssd[be[default]]] [load_backend_module]
(0x0010): Unable to load ad module with path
(/usr/lib64/sssd/libsss_ad.so), error:
/usr/lib64/sssd/libsss_krb5_common.so: undefined symbol: add_key
-lkeyutils was passed to the libraries libsss_{krb5,ipa,ad}.so,
but when compiling with -Wl,--as-needed this flag will be ignored,
since it is not used directly. So it was unavailable to
libsss_krb5_common.so which actually needs it.
This patch removes $(KEYUTILS_LIBS) from those libraries and adds it to
libsss_krb5_common.so
Diffstat (limited to 'src/providers/data_provider.h')
0 files changed, 0 insertions, 0 deletions