summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-10-04 12:57:57 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-10-06 10:56:05 -0400
commitcc747b056d161cb4a82d94e95b7522ca98c5d085 (patch)
tree7476e89296c42a12ce6626ed5f959ee376a9fc84 /src
parent95d3cb8d4ff2e3e8fdc186f2ebf617fd29ddfdec (diff)
downloadsssd-cc747b056d161cb4a82d94e95b7522ca98c5d085.tar.gz
sssd-cc747b056d161cb4a82d94e95b7522ca98c5d085.tar.xz
sssd-cc747b056d161cb4a82d94e95b7522ca98c5d085.zip
Fix typo in sysdb_get_direct_parents
Diffstat (limited to 'src')
-rw-r--r--src/db/sysdb_search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/sysdb_search.c b/src/db/sysdb_search.c
index 3a310b7e7..b7f6a19bb 100644
--- a/src/db/sysdb_search.c
+++ b/src/db/sysdb_search.c
@@ -868,7 +868,7 @@ errno_t sysdb_get_direct_parents(TALLOC_CTX *mem_ctx,
if (mtype == SYSDB_MEMBER_USER) {
dn = sysdb_user_strdn(tmp_ctx, dom->name, name);
- } else if (mtype == SYSDB_MEMBER_USER) {
+ } else if (mtype == SYSDB_MEMBER_GROUP) {
dn = sysdb_group_strdn(tmp_ctx, dom->name, name);
} else {
DEBUG(1, ("Unknown member type\n"));