Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • mika/sssd
  • guillem/debian-pkg-sssd
  • john.veitch/sssd
  • jgullberg/sssd
  • gioele/sssd
  • oktay454/sssd
  • sergiodj/sssd
  • 3v1n0/sssd
  • jfalk-guest/sssd
  • sathieu/sssd
  • dpward/sssd
  • sssd-team/sssd
  • ahasenack/sssd
  • jbicha/sssd
  • yrro-guest/sssd
15 results
Show changes
Commits on Source (87)
Showing with 2466 additions and 2311 deletions
name: "Analyze (target)"
on:
pull_request_target:
branches: [master, sssd-2-7, sssd-2-8]
branches: [master, sssd-2-7, sssd-2-8, sssd-2-9]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
......
name: "ci"
on:
push:
branches: [master, sssd-2-7, sssd-2-8]
branches: [master, sssd-2-7, sssd-2-8, sssd-2-9]
pull_request:
branches: [master, sssd-2-7, sssd-2-8]
branches: [master, sssd-2-7, sssd-2-8, sssd-2-9]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
......@@ -339,18 +339,40 @@ jobs:
run: |
yq -i 'del(.domains[0].hosts.[] | select(.role == "ad"))' mhc.yaml
- name: Check polarion metadata
shell: bash
working-directory: ./sssd/src/tests/system
run: |
# Run pytest in collect only mode to quickly catch issues in Polarion metadata.
set -ex -o pipefail
mkdir -p $GITHUB_WORKSPACE/artifacts
source .venv/bin/activate
pytest \
--color=yes \
--mh-config=./mhc.yaml \
--mh-log-path=$GITHUB_WORKSPACE/mh.log \
--mh-artifacts-dir=$GITHUB_WORKSPACE/artifacts \
--polarion-config=./polarion.yaml \
--output-polarion-testcase=$GITHUB_WORKSPACE/artifacts/testcase.xml \
--collect-only . |& tee $GITHUB_WORKSPACE/pytest-collect.log
- name: Run tests
shell: bash
working-directory: ./sssd/src/tests/system
run: |
set -ex -o pipefail
mkdir -p $GITHUB_WORKSPACE/artifacts
source .venv/bin/activate
pytest \
--color=yes \
--mh-config=./mhc.yaml \
--mh-log-path=$GITHUB_WORKSPACE/mh.log \
--mh-artifacts-dir=$GITHUB_WORKSPACE/artifacts \
--polarion-config=./polarion.yaml \
--output-polarion-testcase=$GITHUB_WORKSPACE/artifacts/testcase.xml \
--output-polarion-testrun=$GITHUB_WORKSPACE/artifacts/testrun.xml \
-vvv . |& tee $GITHUB_WORKSPACE/pytest.log
- name: Upload artifacts
......@@ -366,6 +388,7 @@ jobs:
build.log
install.log
pytest.log
pytest-collect.log
result:
name: All tests are successful
......
......@@ -21,7 +21,7 @@
name: copr
on:
pull_request_target:
branches: [master, sssd-2-7, sssd-2-8]
branches: [master, sssd-2-7, sssd-2-8, sssd-2-9]
types: [opened, synchronize, reopened]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
......@@ -96,7 +96,7 @@ jobs:
run: |
# CentOS Stream 8
copr-cli --config "$coprcfg" edit-chroot \
--repos 'https://koji.mbox.centos.org/kojifiles/repos/dist-c8-stream-build/latest/$basearch/' \
--repos 'https://kojihub.stream.centos.org/kojifiles/repos/c8s-build/latest/$basearch' \
--modules idm:DL1 \
$COPR_ACCOUNT/$COPR_PROJECT/centos-stream-8-x86_64
......
name: copr cleanup
on:
pull_request_target:
branches: [master, sssd-2-7, sssd-2-8]
branches: [master, sssd-2-7, sssd-2-8, sssd-2-9]
types: [closed]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
......
name: "Static code analysis"
on:
push:
branches: [master, sssd-2-7, sssd-2-8]
branches: [master, sssd-2-7, sssd-2-8, sssd-2-9]
pull_request:
branches: [master, sssd-2-7, sssd-2-8]
branches: [master, sssd-2-7, sssd-2-8, sssd-2-9]
schedule:
# Everyday at midnight
- cron: '0 0 * * *'
......
......@@ -90,6 +90,7 @@ sssdkcmdatadir = $(datadir)/sssd-kcm
deskprofilepath = $(sss_statedir)/deskprofile
if HAVE_SYSTEMD_UNIT
ifp_dbus_exec_comment = \# If system is configured to use systemd ifp service ("SystemdService=") then "Exec=" and "User=" options are not used
ifp_exec_cmd = $(sssdlibexecdir)/sssd_ifp --uid 0 --gid 0 --dbus-activated
ifp_systemdservice = SystemdService=sssd-ifp.service
ifp_restart = Restart=on-failure
......@@ -105,6 +106,7 @@ if SSSD_NON_ROOT_USER
additional_caps = CAP_DAC_OVERRIDE
endif
else
ifp_dbus_exec_comment = \# "sss_signal" is used to force SSSD monitor to trigger "sssd_ifp" reconnection to dbus
ifp_exec_cmd = $(sssdlibexecdir)/sss_signal
ifp_systemdservice =
ifp_restart =
......@@ -1317,7 +1319,9 @@ endif
if BUILD_SYSTEMTAP
libsss_util_la_LIBADD += stap_generated_probes.lo
endif
if BUILD_PASSKEY
libsss_util_la_SOURCES += src/db/sysdb_passkey_user_verification.c
endif # BUILD_PASSKEY
libsss_util_la_LDFLAGS = -avoid-version
pkglib_LTLIBRARIES += libsss_semanage.la
......@@ -1560,8 +1564,10 @@ sssd_pam_SOURCES = \
src/responder/pam/pam_prompting_config.c \
src/sss_client/pam_sss_prompt_config.c \
src/responder/pam/pam_helpers.c \
src/responder/pam/pamsrv_passkey.c \
$(SSSD_RESPONDER_OBJ)
if BUILD_PASSKEY
sssd_pam_SOURCES += src/responder/pam/pamsrv_passkey.c
endif
sssd_pam_CFLAGS = \
$(AM_CFLAGS) \
$(GSSAPI_KRB5_CFLAGS) \
......@@ -1746,6 +1752,7 @@ EXTRA_DIST += \
ifp_edit_cmd = $(edit_cmd) \
-e 's|@ifp_exec_cmd[@]|$(ifp_exec_cmd)|g' \
-e 's|@ifp_dbus_exec_comment[@]|$(ifp_dbus_exec_comment)|g' \
-e 's|@ifp_systemdservice[@]|$(ifp_systemdservice)|g' \
-e 's|@ifp_restart[@]|$(ifp_restart)|g'
......@@ -2512,6 +2519,7 @@ test_sbus_message_LDADD = \
libsss_debug.la \
libsss_test_common.la \
libsss_sbus.la \
$(SSSD_INTERNAL_LTLIBS) \
$(NULL)
test_sbus_opath_SOURCES = \
......@@ -2525,6 +2533,7 @@ test_sbus_opath_LDADD = \
libsss_debug.la \
libsss_test_common.la \
libsss_sbus.la \
$(SSSD_INTERNAL_LTLIBS) \
$(NULL)
if HAVE_CMOCKA
......@@ -2616,7 +2625,6 @@ pam_srv_tests_SOURCES = \
src/responder/pam/pamsrv_cmd.c \
src/responder/pam/pamsrv_p11.c \
src/responder/pam/pamsrv_gssapi.c \
src/responder/pam/pamsrv_passkey.c \
src/responder/pam/pam_helpers.c \
src/responder/pam/pamsrv_dp.c \
src/responder/pam/pam_prompting_config.c \
......@@ -2650,6 +2658,9 @@ pam_srv_tests_LDADD = \
libsss_iface.la \
libsss_sbus.la \
$(NULL)
if BUILD_PASSKEY
pam_srv_tests_SOURCES += src/responder/pam/pamsrv_passkey.c
endif # BUILD_PASSKEY
EXTRA_ssh_srv_tests_DEPENDENCIES = \
$(ldblib_LTLIBRARIES) \
......@@ -4570,9 +4581,10 @@ if BUILD_SSH
libsss_ipa_la_SOURCES += src/providers/ipa/ipa_hostid.c
endif
if BUILD_PASSKEY
libsss_ipa_la_SOURCES += \
src/providers/ipa/ipa_subdomains_passkey.c
endif # BUILD_PASSKEY
libsss_ad_la_SOURCES = \
src/providers/ad/ad_opts.c \
......@@ -4655,8 +4667,10 @@ krb5_child_SOURCES = \
src/sss_client/common.c \
src/krb5_plugin/common/utils.c \
src/krb5_plugin/idp/idp_utils.c \
src/krb5_plugin/passkey/passkey_utils.c \
$(NULL)
if BUILD_PASSKEY
krb5_child_SOURCES += src/krb5_plugin/passkey/passkey_utils.c
endif # BUILD_PASSKEY
krb5_child_CFLAGS = \
$(AM_CFLAGS) \
$(POPT_CFLAGS) \
......@@ -4672,7 +4686,6 @@ krb5_child_LDADD = \
$(CLIENT_LIBS) \
$(SYSTEMD_LOGIN_LIBS) \
$(JANSSON_LIBS) \
libsss_sbus.la \
$(NULL)
ldap_child_SOURCES = \
......
[![master :: CI Status](https://img.shields.io/github/workflow/status/SSSD/sssd/ci/master?label=master%20%3A%3A%20ci)](https://github.com/SSSD/sssd/actions/workflows/ci.yml?query=branch%3Amaster)
[![master :: Analyzers](https://img.shields.io/github/workflow/status/SSSD/sssd/Static%20code%20analysis/master?label=master%20%3A%3A%20analyze)](https://github.com/SSSD/sssd/actions/workflows/static-code-analysis.yml?query=branch%3Amaster)
[![Coverity Scan](https://img.shields.io/coverity/scan/sssd-sssd?label=master%20::%20coverity)](https://scan.coverity.com/projects/sssd-sssd)
[![sssd-2-7 :: CI Status](https://img.shields.io/github/workflow/status/SSSD/sssd/ci/master?label=sssd-2-7%20%3A%3A%20ci)](https://github.com/SSSD/sssd/actions/workflows/ci.yml?query=branch%3Asssd-2-7)
[![sssd-2-7 :: Analyzers](https://img.shields.io/github/workflow/status/SSSD/sssd/Static%20code%20analysis/sssd-2-7?label=sssd-2-7%20%3A%3A%20analyze)](https://github.com/SSSD/sssd/actions/workflows/static-code-analysis.yml?query=branch%3Asssd-2-7)
# SSSD - System Security Services Daemon
......
......@@ -66,7 +66,8 @@ if [[ "$DISTRO_BRANCH" == -debian-* ]]; then
)
fi
if [[ "$DISTRO_BRANCH" == -redhat-fedora-3[2-9]* ||
if [[ "$DISTRO_BRANCH" == -redhat-fedora-4[0-9]* ||
"$DISTRO_BRANCH" == -redhat-fedora-3[2-9]* ||
"$DISTRO_BRANCH" == -redhat-centos*-9*- ||
"$DISTRO_BRANCH" == -redhat-redhatenterprise*-9.*- ]]; then
CONFIGURE_ARG_LIST+=(
......
......@@ -59,7 +59,8 @@ if [[ "$DISTRO_BRANCH" == -redhat-* ]]; then
)
fi
if [[ "$DISTRO_BRANCH" == -redhat-fedora-3[1-9]* ||
if [[ "$DISTRO_BRANCH" == -redhat-fedora-4[0-9]* ||
"$DISTRO_BRANCH" == -redhat-fedora-3[1-9]* ||
"$DISTRO_BRANCH" == -redhat-redhatenterprise*-8.*- ||
"$DISTRO_BRANCH" == -redhat-redhatenterprise*-9.*- ||
"$DISTRO_BRANCH" == -redhat-centos*-8*- ||
......
......@@ -144,6 +144,7 @@ BuildRequires: pcre2-devel
BuildRequires: pkgconfig
BuildRequires: popt-devel
BuildRequires: python3-devel
BuildRequires: (python3-setuptools if python3 >= 3.12)
BuildRequires: samba-devel
# required for idmap_sss.so
BuildRequires: samba-winbind
......
sssd (2.9.2-1) UNRELEASED; urgency=medium
* New upstream release.
* control, rules: Add bc to build-depends, enable tests again.
-- Timo Aaltonen <tjaalton@debian.org> Wed, 30 Aug 2023 10:03:21 +0300
sssd (2.9.1-2) unstable; urgency=medium
[ Sergio Durigan Junior ]
......
......@@ -6,6 +6,7 @@ Uploaders: Timo Aaltonen <tjaalton@debian.org>,
Dominik George <natureshadow@debian.org>
Build-Depends:
autopoint,
bc,
check <!nocheck>,
cifs-utils,
debhelper-compat (= 12),
......
......@@ -52,9 +52,9 @@ override_dh_auto_configure:
override_dh_auto_test:
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
# export CK_TIMEOUT_MULTIPLIER=10
# dh_auto_test -- VERBOSE=yes
# unset CK_TIMEOUT_MULTIPLIER
export CK_TIMEOUT_MULTIPLIER=10
dh_auto_test -- VERBOSE=yes
unset CK_TIMEOUT_MULTIPLIER
endif
override_dh_auto_install:
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.