URL: https://github.com/SSSD/sssd/pull/256 Author: fidencio Title: #256: Just a few small fixes Action: synchronized
To pull the PR as Git branch: git remote add ghsssd https://github.com/SSSD/sssd git fetch ghsssd pull/256/head:pr256 git checkout pr256
From de747bad927ab101e5cee43650e9366f607d2d01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= <[email protected]> Date: Fri, 28 Apr 2017 16:45:49 +0200 Subject: [PATCH 1/3] NSS: Fix typo inigroups -> initgroups MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabiano FidĂȘncio <[email protected]> --- src/responder/nss/nss_iface.c | 2 +- src/responder/nss/nsssrv.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/responder/nss/nss_iface.c b/src/responder/nss/nss_iface.c index c40d3d1..6277b4e 100644 --- a/src/responder/nss/nss_iface.c +++ b/src/responder/nss/nss_iface.c @@ -191,7 +191,7 @@ int nss_memorycache_update_initgroups(struct sbus_request *sbus_req, struct resp_ctx *rctx = talloc_get_type(data, struct resp_ctx); struct nss_ctx *nctx = talloc_get_type(rctx->pvt_ctx, struct nss_ctx); - DEBUG(SSSDBG_TRACE_LIBS, "Updating inigroups memory cache of [%s@%s]\n", + DEBUG(SSSDBG_TRACE_LIBS, "Updating initgroups memory cache of [%s@%s]\n", user, domain); nss_update_initgr_memcache(nctx, user, domain, num_groups, groups); diff --git a/src/responder/nss/nsssrv.c b/src/responder/nss/nsssrv.c index 807b5e8..644e941 100644 --- a/src/responder/nss/nsssrv.c +++ b/src/responder/nss/nsssrv.c @@ -469,7 +469,7 @@ int nss_process_init(TALLOC_CTX *mem_ctx, SSS_MC_CACHE_ELEMENTS, (time_t)memcache_timeout, &nctx->initgr_mc_ctx); if (ret) { - DEBUG(SSSDBG_CRIT_FAILURE, "inigroups mmap cache is DISABLED\n"); + DEBUG(SSSDBG_CRIT_FAILURE, "initgroups mmap cache is DISABLED\n"); } /* Set up file descriptor limits */ From 8c678b464dd30421e37c16c713e8b3814f1484d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= <[email protected]> Date: Mon, 1 May 2017 20:07:02 +0200 Subject: [PATCH 2/3] LDAP: Remove duplicated debug message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabiano FidĂȘncio <[email protected]> --- src/providers/ldap/sdap_async_initgroups.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/providers/ldap/sdap_async_initgroups.c b/src/providers/ldap/sdap_async_initgroups.c index c926ddc..a33975c 100644 --- a/src/providers/ldap/sdap_async_initgroups.c +++ b/src/providers/ldap/sdap_async_initgroups.c @@ -3429,7 +3429,6 @@ static void sdap_get_initgr_pgid(struct tevent_req *subreq) DEBUG(SSSDBG_TRACE_ALL, "No need to check for domain local group memberships.\n"); } else { - DEBUG(SSSDBG_OP_FAILURE, "sdap_ad_check_domain_local_groups failed.\n"); DEBUG(SSSDBG_OP_FAILURE, "sdap_ad_check_domain_local_groups failed, " "meberships to domain local groups might be missing.\n"); From 2f5ae1e066bb0c963a31a156d8101faad84d2468 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= <[email protected]> Date: Tue, 2 May 2017 09:33:39 +0200 Subject: [PATCH 3/3] CONTRIB: Force single-thread install to workaround concurrency issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabiano FidĂȘncio <[email protected]> --- contrib/fedora/bashrc_sssd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/fedora/bashrc_sssd b/contrib/fedora/bashrc_sssd index ec4e91e..3796bf8 100644 --- a/contrib/fedora/bashrc_sssd +++ b/contrib/fedora/bashrc_sssd @@ -104,7 +104,8 @@ warn() # and making sure that the NSS and PAM modules have the right SELinux context. sssinstall() { - sudo make -j$PROCESSORS install \ + # Force single-thread install to workaround concurrency issues + sudo make -j1 install \ && sudo rm -f $SSS_LIBDIR/ldb/modules/ldb/memberof.la \ && sudo restorecon -v /$SSS_LIB/libnss_sss.so.2 \ /$SSS_LIB/security/pam_sss.so
_______________________________________________ sssd-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
