|
|
ecf709 |
From 52622fbb51d972ba1f02ff0c7dff2e9fa7adf96c Mon Sep 17 00:00:00 2001
|
|
|
ecf709 |
From: Sumit Bose <sbose@redhat.com>
|
|
|
ecf709 |
Date: Thu, 16 Mar 2017 11:37:41 +0100
|
|
|
ecf709 |
Subject: [PATCH 93/96] sss_sifp: update method names
|
|
|
ecf709 |
MIME-Version: 1.0
|
|
|
ecf709 |
Content-Type: text/plain; charset=UTF-8
|
|
|
ecf709 |
Content-Transfer-Encoding: 8bit
|
|
|
ecf709 |
|
|
|
ecf709 |
Related to https://pagure.io/SSSD/sssd/issue/3292
|
|
|
ecf709 |
|
|
|
ecf709 |
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
|
|
|
ecf709 |
(cherry picked from commit 40ff10d73063949ca699670ca212e96b809d5fcd)
|
|
|
ecf709 |
---
|
|
|
ecf709 |
Makefile.am | 2 +-
|
|
|
ecf709 |
src/lib/sifp/sss_sifp_common.c | 4 ++--
|
|
|
ecf709 |
2 files changed, 3 insertions(+), 3 deletions(-)
|
|
|
ecf709 |
|
|
|
ecf709 |
diff --git a/Makefile.am b/Makefile.am
|
|
|
ecf709 |
index 368ebe54b8617cb5bafb079322582d5346b6c4df..b16a71cc9e07f21d02b4ceb3f41a8e9de0591ec9 100644
|
|
|
ecf709 |
--- a/Makefile.am
|
|
|
ecf709 |
+++ b/Makefile.am
|
|
|
ecf709 |
@@ -1221,7 +1221,7 @@ libsss_simpleifp_la_LIBADD = \
|
|
|
ecf709 |
$(DHASH_LIBS)
|
|
|
ecf709 |
libsss_simpleifp_la_LDFLAGS = \
|
|
|
ecf709 |
-Wl,--version-script,$(srcdir)/src/lib/sifp/sss_simpleifp.exports \
|
|
|
ecf709 |
- -version-info 1:0:1
|
|
|
ecf709 |
+ -version-info 1:1:1
|
|
|
ecf709 |
|
|
|
ecf709 |
dist_noinst_DATA += src/lib/sifp/sss_simpleifp.exports
|
|
|
ecf709 |
|
|
|
ecf709 |
diff --git a/src/lib/sifp/sss_sifp_common.c b/src/lib/sifp/sss_sifp_common.c
|
|
|
ecf709 |
index bd1dc6a3108329d2c795dc0a259637e71964be9f..8913d0be3d43bd8707829001a5b476d9ab864fd8 100644
|
|
|
ecf709 |
--- a/src/lib/sifp/sss_sifp_common.c
|
|
|
ecf709 |
+++ b/src/lib/sifp/sss_sifp_common.c
|
|
|
ecf709 |
@@ -168,7 +168,7 @@ sss_sifp_fetch_user_by_uid(sss_sifp_ctx *ctx,
|
|
|
ecf709 |
uint64_t _uid = uid;
|
|
|
ecf709 |
|
|
|
ecf709 |
return sss_sifp_fetch_object_by_attr(ctx, IFP_PATH_USERS, IFACE_IFP_USERS,
|
|
|
ecf709 |
- IFACE_IFP_USERS_USER, "UserByID",
|
|
|
ecf709 |
+ IFACE_IFP_USERS_USER, "ByID",
|
|
|
ecf709 |
DBUS_TYPE_UINT64, &_uid, _user);
|
|
|
ecf709 |
}
|
|
|
ecf709 |
|
|
|
ecf709 |
@@ -178,6 +178,6 @@ sss_sifp_fetch_user_by_name(sss_sifp_ctx *ctx,
|
|
|
ecf709 |
sss_sifp_object **_user)
|
|
|
ecf709 |
{
|
|
|
ecf709 |
return sss_sifp_fetch_object_by_name(ctx, IFP_PATH_USERS, IFACE_IFP_USERS,
|
|
|
ecf709 |
- IFACE_IFP_USERS_USER, "UserByName",
|
|
|
ecf709 |
+ IFACE_IFP_USERS_USER, "ByName",
|
|
|
ecf709 |
name, _user);
|
|
|
ecf709 |
}
|
|
|
ecf709 |
--
|
|
|
ecf709 |
2.9.3
|
|
|
ecf709 |
|