summaryrefslogtreecommitdiff
path: root/src/providers/ipa
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-12-05 15:51:35 +0100
committerStephen Gallagher <sgallagh@redhat.com>2011-12-16 14:46:17 -0500
commit75a43c7f91fcb27dee75976cc7c094dd5fa589f6 (patch)
treea1c05b7934e12f3bf8a561eae2d33a1f7b09e97e /src/providers/ipa
parent4e9631a9f1ae87317eef53145622099c46196b56 (diff)
downloadsssd-75a43c7f91fcb27dee75976cc7c094dd5fa589f6.tar.gz
sssd-75a43c7f91fcb27dee75976cc7c094dd5fa589f6.tar.bz2
sssd-75a43c7f91fcb27dee75976cc7c094dd5fa589f6.zip
Export the function to convert ldb_result to sysdb_attrs
It will be reused later in the sudo responder
Diffstat (limited to 'src/providers/ipa')
-rw-r--r--src/providers/ipa/ipa_access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ipa/ipa_access.c b/src/providers/ipa/ipa_access.c
index 880f07d3..bb496e59 100644
--- a/src/providers/ipa/ipa_access.c
+++ b/src/providers/ipa/ipa_access.c
@@ -644,7 +644,7 @@ static errno_t hbac_get_cached_rules(TALLOC_CTX *mem_ctx,
count = 0;
}
- ret = msgs2attrs_array(mem_ctx, count, msgs, &hbac_ctx->rules);
+ ret = sysdb_msg2attrs(mem_ctx, count, msgs, &hbac_ctx->rules);
if (ret != EOK) {
DEBUG(1, ("Could not convert ldb message to sysdb_attrs\n"));
goto done;