[SSSD] [PATCH] back end: periodic task API + refresh of expired records

Lukas Slebodnik lslebodn at redhat.com
Wed May 22 13:04:39 UTC 2013


On (22/05/13 12:20), Jakub Hrozek wrote:
>Also linking the patches fails for me (I'm using parallel build, not
>sure if that matters):
>
>src/providers/simple_access_tests-data_provider_be.o: In function
>`be_process_init':
>/home/remote/jhrozek/devel/sssd/src/providers/data_provider_be.c:2540:
>undefined reference to `be_refresh_ctx_init'
>/home/remote/jhrozek/devel/sssd/src/providers/data_provider_be.c:2548:
>undefined reference to `be_refresh_recv'
>/home/remote/jhrozek/devel/sssd/src/providers/data_provider_be.c:2548:
>undefined reference to `be_refresh_send'
>/home/remote/jhrozek/devel/sssd/src/providers/data_provider_be.c:2548:
>undefined reference to `be_ptask_create'
>

Pavels third patch introduced this linker error.

Even if I fixed it, tests failed.

diff --git a/Makefile.am b/Makefile.am
index a68b45a..50f0384 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1075,6 +1075,8 @@ ad_ldap_opt_tests_LDADD = \
 simple_access_tests_SOURCES = \
     src/tests/simple_access-tests.c \
     src/providers/simple/simple_access_check.c \
+    src/providers/dp_refresh.c \
+    src/providers/dp_ptask.c \
     src/providers/data_provider_be.c \
     src/providers/data_provider_fo.c \
     src/providers/data_provider_opts.c \


======================================================================
FAIL: testListOptions (__main__.SSSDConfigTestSSSDDomain)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "../sssd/src/config/SSSDConfigTest.py", line 547, in testListOptions
    option)
AssertionError: Option [refresh_expired_interval] unexpectedly found

======================================================================
FAIL: testRemoveProvider (__main__.SSSDConfigTestSSSDDomain)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "../sssd/src/config/SSSDConfigTest.py", line 897, in testRemoveProvider
    option)
AssertionError: Option [refresh_expired_interval] unexpectedly found

----------------------------------------------------------------------
Ran 13 tests in 0.092s

FAILED (failures=2)

LS



More information about the sssd-devel mailing list