From 65b8ace4d8892c85220e5bcf5ae7d92a6517aa65 Mon Sep 17 00:00:00 2001 From: Pavel Reichl Date: Wed, 18 Dec 2013 14:07:42 +0000 Subject: SYSDB: typos & debug macro constants --- src/db/sysdb_ops.c | 5 +++-- src/db/sysdb_search.c | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/db/sysdb_ops.c b/src/db/sysdb_ops.c index 32734521..967b467c 100644 --- a/src/db/sysdb_ops.c +++ b/src/db/sysdb_ops.c @@ -170,7 +170,8 @@ int sysdb_delete_recursive(struct sysdb_ctx *sysdb, ret = EOK; } if (ret) { - DEBUG(6, ("Search error: %d (%s)\n", ret, strerror(ret))); + DEBUG(SSSDBG_TRACE_FUNC, ("Search error: %d (%s)\n", + ret, strerror(ret))); } goto done; } @@ -181,7 +182,7 @@ int sysdb_delete_recursive(struct sysdb_ctx *sysdb, sizeof(struct ldb_message *), compare_ldb_dn_comp_num); for (i = 0; i < msgs_count; i++) { - DEBUG(9 ,("Trying to delete [%s].\n", + DEBUG(SSSDBG_TRACE_ALL, ("Trying to delete [%s].\n", ldb_dn_get_linearized(msgs[i]->dn))); ret = sysdb_delete_entry(sysdb, msgs[i]->dn, false); diff --git a/src/db/sysdb_search.c b/src/db/sysdb_search.c index f2599a18..53c8f016 100644 --- a/src/db/sysdb_search.c +++ b/src/db/sysdb_search.c @@ -52,7 +52,7 @@ int sysdb_getpwnam(TALLOC_CTX *mem_ctx, goto done; } - /* If this is a subomain we need to use fully qualified names for the + /* If this is a subdomain we need to use fully qualified names for the * search as well by default */ src_name = sss_get_domain_name(tmp_ctx, name, domain); if (!src_name) { -- cgit