summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPavel Reichl <pavel.reichl@redhat.com>2013-12-18 14:07:42 +0000
committerJakub Hrozek <jhrozek@redhat.com>2013-12-18 17:03:27 +0100
commit65b8ace4d8892c85220e5bcf5ae7d92a6517aa65 (patch)
treebea18584106bfbba50ba16ced4ebb217eaaff103 /src
parent1101a3da9037f69a556935f2706b844accc468de (diff)
downloadsssd-65b8ace4d8892c85220e5bcf5ae7d92a6517aa65.tar.gz
sssd-65b8ace4d8892c85220e5bcf5ae7d92a6517aa65.tar.xz
sssd-65b8ace4d8892c85220e5bcf5ae7d92a6517aa65.zip
SYSDB: typos & debug macro constants
Diffstat (limited to 'src')
-rw-r--r--src/db/sysdb_ops.c5
-rw-r--r--src/db/sysdb_search.c2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/db/sysdb_ops.c b/src/db/sysdb_ops.c
index 327345212..967b467cb 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 f2599a18a..53c8f0164 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) {