summaryrefslogtreecommitdiffstats
path: root/src/responder/nss/nsssrv.c
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2016-11-15 13:22:09 +0100
committerLukas Slebodnik <lslebodn@redhat.com>2016-12-19 23:22:05 +0100
commita22b0af1993a489c9c0e66fdc1083f43b410d12c (patch)
treef0cf87fd7c839d2cb53c5078c33dfca3a248b950 /src/responder/nss/nsssrv.c
parentbaadb6080be0ec5cee2e351c3d5324d755f86f9c (diff)
downloadsssd-a22b0af1993a489c9c0e66fdc1083f43b410d12c.tar.gz
sssd-a22b0af1993a489c9c0e66fdc1083f43b410d12c.tar.xz
sssd-a22b0af1993a489c9c0e66fdc1083f43b410d12c.zip
nss: move nss_ctx->global_names to rctx
Global names context is used to parse AD well known SIDs and names into its opposite. This patch moves definition of this parameter from nss responder into common responder context so it can be used also by other responders. This change will be use to enable looking up well known SIDs and names directly in cache_req. Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/responder/nss/nsssrv.c')
-rw-r--r--src/responder/nss/nsssrv.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/responder/nss/nsssrv.c b/src/responder/nss/nsssrv.c
index 236ae87b9..8318b35f7 100644
--- a/src/responder/nss/nsssrv.c
+++ b/src/responder/nss/nsssrv.c
@@ -515,12 +515,6 @@ int nss_process_init(TALLOC_CTX *mem_ctx,
goto fail;
}
- ret = sss_ad_default_names_ctx(nctx, &nctx->global_names);
- if (ret != EOK) {
- DEBUG(SSSDBG_CRIT_FAILURE, "sss_ad_default_names_ctx failed.\n");
- goto fail;
- }
-
DEBUG(SSSDBG_TRACE_FUNC, "NSS Initialization complete\n");
return EOK;