summaryrefslogtreecommitdiff
path: root/src/providers/simple
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-06 18:24:12 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-15 10:49:20 +0100
commit2ce00e0d3896bb42db169d1e79553a81ca837a22 (patch)
tree4680fe9905816d67d70169ccc378f41545db8352 /src/providers/simple
parent5d78919c955c945e78865f322726aac075c71203 (diff)
downloadsssd-2ce00e0d3896bb42db169d1e79553a81ca837a22.tar.gz
sssd-2ce00e0d3896bb42db169d1e79553a81ca837a22.tar.bz2
sssd-2ce00e0d3896bb42db169d1e79553a81ca837a22.zip
Add domain to sysdb_search_user_by_name()
Also remove unused sysdb_search_domuser_by_name()
Diffstat (limited to 'src/providers/simple')
-rw-r--r--src/providers/simple/simple_access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/simple/simple_access.c b/src/providers/simple/simple_access.c
index 70d1f072..05388af4 100644
--- a/src/providers/simple/simple_access.c
+++ b/src/providers/simple/simple_access.c
@@ -107,7 +107,7 @@ errno_t simple_access_check(struct simple_ctx *ctx, const char *username,
goto done;
}
- ret = sysdb_search_user_by_name(tmp_ctx, ctx->sysdb,
+ ret = sysdb_search_user_by_name(tmp_ctx, ctx->sysdb, ctx->domain,
username, user_attrs, &msg);
if (ret != EOK) {
DEBUG(1, ("Could not look up username [%s]: [%d][%s]\n",