Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:acdc:sp5-rebuild
sssd.24394
0024-libwbclient-sssd-use-new-sss_nss_idmap-cal...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0024-libwbclient-sssd-use-new-sss_nss_idmap-calls.patch of Package sssd.24394
From fbe43f1bfb299ec57eca999410070ec178400e25 Mon Sep 17 00:00:00 2001 From: Sumit Bose <sbose@redhat.com> Date: Fri, 25 May 2018 18:38:33 +0200 Subject: [PATCH 6/8] libwbclient-sssd: use new sss_nss_idmap calls Related to https://pagure.io/SSSD/sssd/issue/3629 Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> (cherry picked from commit 54c040cb4ea120771954d5882b756e9300b7b673) --- src/sss_client/libwbclient/wbc_idmap_sssd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sss_client/libwbclient/wbc_idmap_sssd.c b/src/sss_client/libwbclient/wbc_idmap_sssd.c index c8da97542..dd2cbb4d6 100644 --- a/src/sss_client/libwbclient/wbc_idmap_sssd.c +++ b/src/sss_client/libwbclient/wbc_idmap_sssd.c @@ -63,7 +63,7 @@ wbcErr wbcUidToSid(uid_t uid, struct wbcDomainSid *sid) enum sss_id_type type; wbcErr wbc_status; - ret = sss_nss_getsidbyid(uid, &str_sid, &type); + ret = sss_nss_getsidbyuid(uid, &str_sid, &type); if (ret != 0) { return WBC_ERR_UNKNOWN_FAILURE; } @@ -127,7 +127,7 @@ wbcErr wbcGidToSid(gid_t gid, struct wbcDomainSid *sid) enum sss_id_type type; wbcErr wbc_status; - ret = sss_nss_getsidbyid(gid, &str_sid, &type); + ret = sss_nss_getsidbygid(gid, &str_sid, &type); if (ret != 0) { return WBC_ERR_UNKNOWN_FAILURE; } -- 2.23.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor