diff options
| author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-10-16 13:23:48 +0200 |
|---|---|---|
| committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-04-16 11:09:35 +0200 |
| commit | 717008c8c3f29f3a1a77266cc72a6cfa616bf295 (patch) | |
| tree | fa489630f845485b4c609a5c22f73d5264a2ae5c /src/util/sss_python.c | |
| parent | 42c28b9424b6ef8a0021b124773e171dd5defadd (diff) | |
| download | sssd-717008c8c3f29f3a1a77266cc72a6cfa616bf295.tar.gz sssd-717008c8c3f29f3a1a77266cc72a6cfa616bf295.tar.xz sssd-717008c8c3f29f3a1a77266cc72a6cfa616bf295.zip | |
BUILD: Link libsss_krb5_common.so to libkeyutils.so
The symbol add_key (from libkeyutils) is used by
function add_user_to_delayed_online_authentication
(from file 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
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'src/util/sss_python.c')
0 files changed, 0 insertions, 0 deletions
