diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2009-09-18 12:35:34 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-09-21 10:35:10 -0400 |
commit | 8c50bd085c0efe5fde354deee2c8118887aae29d (patch) | |
tree | b3968a8878c533438aef689b79825915e2720ef2 /server/providers/ldap/ldap_id.c | |
parent | 9570ca098cd0e92d1eb6aabc00fb8cac9fddd442 (diff) | |
download | sssd-8c50bd085c0efe5fde354deee2c8118887aae29d.tar.gz sssd-8c50bd085c0efe5fde354deee2c8118887aae29d.tar.xz sssd-8c50bd085c0efe5fde354deee2c8118887aae29d.zip |
Use syslog for logging error conditions in SSSD
This is just a band-aid until ELAPI is fully functional and ready to
use.
Diffstat (limited to 'server/providers/ldap/ldap_id.c')
-rw-r--r-- | server/providers/ldap/ldap_id.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/providers/ldap/ldap_id.c b/server/providers/ldap/ldap_id.c index 72caf9664..bd376f7cb 100644 --- a/server/providers/ldap/ldap_id.c +++ b/server/providers/ldap/ldap_id.c @@ -873,7 +873,7 @@ static void ldap_id_enumerate_set_timer(struct sdap_id_ctx *ctx, tv = tevent_timeval_add(&tv, ert, 0); enum_task = tevent_add_timer(ctx->be->ev, ctx, tv, ldap_id_enumerate, ctx); if (!enum_task) { - DEBUG(0, ("FATAL: failed to setup enumeration task!\n")); + SYSLOG_ERROR("FATAL: failed to setup enumeration task!\n"); /* shutdown! */ exit(1); } @@ -1354,7 +1354,7 @@ int sssm_ldap_init(struct be_ctx *bectx, enum_task = tevent_add_timer(ctx->be->ev, ctx, ctx->last_run, ldap_id_enumerate, ctx); if (!enum_task) { - DEBUG(0, ("FATAL: failed to setup enumeration task!\n")); + SYSLOG_ERROR("FATAL: failed to setup enumeration task!\n"); ret = EFAULT; goto done; } |