"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/responder/pam/pamsrv.c" between
sssd-2.4.1.tar.gz and sssd-2.4.2.tar.gz

About: SSSD is a system daemon to manage identity, authentication and authorization for centrally-managed systems. It provides several interfaces, including NSS and PAM modules or a D-Bus interface.

pamsrv.c  (sssd-2.4.1):pamsrv.c  (sssd-2.4.2)
skipping to change at line 373 skipping to change at line 373
ret = confdb_get_bool(pctx->rctx->cdb, CONFDB_PAM_CONF_ENTRY, ret = confdb_get_bool(pctx->rctx->cdb, CONFDB_PAM_CONF_ENTRY,
CONFDB_PAM_GSSAPI_CHECK_UPN, true, CONFDB_PAM_GSSAPI_CHECK_UPN, true,
&pctx->gssapi_check_upn); &pctx->gssapi_check_upn);
if (ret != EOK) { if (ret != EOK) {
DEBUG(SSSDBG_FATAL_FAILURE, "Failed to read %s [%d]: %s\n", DEBUG(SSSDBG_FATAL_FAILURE, "Failed to read %s [%d]: %s\n",
CONFDB_PAM_GSSAPI_CHECK_UPN, ret, sss_strerror(ret)); CONFDB_PAM_GSSAPI_CHECK_UPN, ret, sss_strerror(ret));
goto done; goto done;
} }
ret = confdb_get_string(pctx->rctx->cdb, pctx, CONFDB_PAM_CONF_ENTRY,
CONFDB_PAM_GSSAPI_INDICATORS_MAP, "-", &tmpstr);
if (ret != EOK) {
DEBUG(SSSDBG_FATAL_FAILURE,
"Failed to determine gssapi services.\n");
goto done;
}
DEBUG(SSSDBG_TRACE_INTERNAL, "Found value [%s] for option [%s].\n", tmpstr,
CONFDB_PAM_GSSAPI_INDICATORS_MAP);
if (tmpstr != NULL) {
ret = split_on_separator(pctx, tmpstr, ',', true, true,
&pctx->gssapi_indicators_map, NULL);
if (ret != EOK) {
DEBUG(SSSDBG_MINOR_FAILURE,
"split_on_separator() failed [%d]: [%s].\n", ret,
sss_strerror(ret));
goto done;
}
}
/* The responder is initialized. Now tell it to the monitor. */ /* The responder is initialized. Now tell it to the monitor. */
ret = sss_monitor_service_init(rctx, rctx->ev, SSS_BUS_PAM, ret = sss_monitor_service_init(rctx, rctx->ev, SSS_BUS_PAM,
SSS_PAM_SBUS_SERVICE_NAME, SSS_PAM_SBUS_SERVICE_NAME,
SSS_PAM_SBUS_SERVICE_VERSION, SSS_PAM_SBUS_SERVICE_VERSION,
MT_SVC_SERVICE, MT_SVC_SERVICE,
&rctx->last_request_time, &rctx->mon_conn); &rctx->last_request_time, &rctx->mon_conn);
if (ret != EOK) { if (ret != EOK) {
DEBUG(SSSDBG_FATAL_FAILURE, "fatal error setting up message bus\n"); DEBUG(SSSDBG_FATAL_FAILURE, "fatal error setting up message bus\n");
goto done; goto done;
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 21 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)