SSSD 2.2.0 Release Notes

  • The Kerberos provider (and composite authentication providers based on it, like AD or IPA) can now include more KDC addresses or host names when writing data for the Kerberos locator plugin (see sssd_krb5_locator_plugin(8)). This means that Kerberos client applications, such as kinit would be able to switch between multiple KDC servers discovered by SSSD. Please see description of the option krb5_kdcinfo_lookahead in the sssd-krb5(5) manual page for more information or refer to the design page (#3973, #3974, #3975)

  • The 2FA prompting can now be configured. The administrator can set custom prompts for first or second factor or select a single prompt for both factors. This can be configured per-service. Please see the section called “Prompting configuration” in the sssd.conf(5) manual page for more details or refer to the design page (#3264).

  • The LDAP authentication provider now allows to use a different method of changing LDAP passwords using a modify operation in addition to the default extended operation. This is meant to support old LDAP servers that do not implement the extended operation. The password change using the modification operation can be selected with ldap_pwmodify_mode = "ldap_modify". More information can also be found in the design page (#1314)

  • The auto_private_groups configuration option now takes a new value hybrid. This mode autogenerates private groups for user entries where the UID and GID values have the same value and at the same time the GID value does not correspond to a real group entry in LDAP (#3822)

  • A new option ad_gpo_ignore_unreadable was added. This option, which defaults to false, can be used to ignore group policy containers in AD with unreadable or missing attributes. This is for the case when server contains GPOs that have very strict permissions on their attributes in AD but are unrelated to access control (#3867)

  • The cached_auth_timeout parameter is now inherited by trusted domains (#3960). The pre-authentication request is now cached as well when this option is in effect (#3960)

  • The ldap_sasl_mech option now accepts another mechanism GSS-SPNEGO in addition to GSSAPI. Using SPNEGO might be preferable with newer Active Directory servers especially with hardened configurations. SSSD might switch to using SPNEGO by default in a future release (#4006)

  • The sssctl tool has two new commands cert-show and cert-map which can help in troubleshooting Smart-Card and in general user certificate related issues

  • A potential race condition between SSSD receiving a notification to try switching to online mode and the network being actually reachable is now handled better. SSSD now tries to go online three times with an increasing delay between online checks up to 4s (#3467).

  • A potential deadlock in user resolution when the IPA provider fetches the keytab used to authenticate to a trusted AD domain was fixed (#3992)

  • When checking if objects that cannot be looked up exist locally and thus should be added to a negative cache with a longer negative TTL (see local_negative_timeout in sssd.conf(5)), the blocking NSS API is no longer used. The blocking calls which might have caused a timeout especially during SSSD startup (#3963)

  • Some cache attributes used by the Kerberos ticket renewal code are now indexed, which speeds up the cache searches which might have otherwise caused SSSD to appear blocked and killed by the internal watchdog (#3968)

  • Cached objects from an Active Directory domain trusted by an IPA domain that no longer exist on the server are now properly removed from the cache (#3984)

  • The sudoRunAsUser/Group now work correctly with an IPA configuration that also uses the domain_resolution_order, either set locally or centrally (#3957)

  • Certificates that are completely missing the Key Usage (KU) certificate extension are now handled gracefully (rhbz#1660899)

  • The sudo smart refresh (see man sssd-sudo) now correctly uses the highest USN number, which results in more efficient queries (#3997)

  • The pam_sss module now returns PAM_USER_UNKNOWN if the PAM socket is missing completely. This could have been the case if SSSD is running with the files domain only and a user resolved by a completely different PAM module logs in (#3988)

  • Netgroups lookups now honor the midpoint refresh interval set by cache_refresh_percent (#3947)

  • The list of users or groups from the filter_users/filter_groups lists which will be negatively cached, avoiding lookups of those entries, are now correctly evaluated for domains that are discovered after sssd had started (#3983). These lists can also now include UPNs (#3978)

  • The IPA access provider no longer fails if the configuration file completely disables dereference by setting ldap_deref_threshold=0 (#3979)

  • The sss_cache tool does not print loud warnings in case the sssd cache cannot be written to, typically this was occuring when /var was mounted read-only during an rpm-ostree update.

  • The command line tools such as sssctl can now operate on the implicit files domain (#3769)

  • The files and proxy provider no longer crash on receiving a request to go online, which they don’t implement (#4014)

  • A potential crash in the online check callback was fixed (#3990)

  • The winbind ID-mapping plugin now works with recent Samba releases again (#4005)

None

  • A new option ad_gpo_ignore_unreadable was added

  • A new option krb5_kdcinfo_lookahead was added

  • A new option ldap_pwmodify_mode was added

  • The option ldap_sasl_mech now accepts a new value GSS-SPNEGO

  • The option auto_private_groups now accepts a new value hybrid

  • Multi-factor prompting can now be configured in a separate section called [prompting]

  • #4987 - sssd fails to build with Python 3.8

  • #4986 - The server error message is not returned if password change fails

  • #4985 - The files provider does not handle resetOffline properly

  • #4977 - sssd does not properly check GSS-SPNEGO

  • #4969 - sudo: always use server highest usn for smart refresh

  • #4964 - ipa-getkeytab can call NSS operation which might deadlock the subdomains request

  • #4963 - providers/data_provider_be: code review required

  • #4962 - providers/data_provider_be: potential dereferencing of ‘bad’ ptr

  • #4961 - Consider merge of two “negcache” tests.

  • #4960 - pam_sss failing for external users not configured via sssd

  • #4956 - IPA: Deleted user from trusted domain is not removed properly from the cache on IPA clients

  • #4955 - filter_users option is not applied to sub-domains if SSSD starts offline

  • #4952 - sudorule matching when no host or hostcat set

  • #4951 - The HBAC code requires dereference to be enabled and fails otherwise

  • #4950 - UPN negative cache does not use values from ‘filter_users’ config option

  • #4949 - crash in dp_failover_active_server

  • #4948 - Lookahead resolving of host names to provide names for the kdcinfo plugin

  • #4947 - Write a list of host names up to a configurable limit to the kdcinfo files

  • #4946 - The kdcinfo plugin should be able to resolve host names

  • #4945 - Circular dependency between subdomains update and NSS responder invoking getDomains

  • #4941 - krb5_child_init: check_ccache_files() might be too slow with large cache

  • #4938 - [RFE]: Optionally disable generating auto private groups for subdomains of an AD provider

  • #4937 - Responders: is_user_local_by_name() should avoid calling nss API entirely

  • #4936 - Responders: processing of filter_users</span>/<span class="title-ref">filter_groups should avoid calling blocking NSS API

  • #4933 - cached_auth_timeout not honored for AD users authenticated via trust with FreeIPA

  • #4931 - sudo: runAsUser/Group does not work with domain_resolution_order

  • #4924 - SSSD netgroups do not honor entry_cache_nowait_percentage

  • #4911 - proxy provider is not working with enumerate=true when trying to fetch all groups

  • #4892 - responders chain requests that were issued before reconnection to sssd_be

  • #4884 - change the default service search base in SSSD-IPA

  • #4857 - [RFE] Need an option in SSSD so that it will skip GPOs that have groupPolicyContainers, unreadable by SSSD.

  • #4851 - Python multihost tests are not part of upstream tarball

  • #4832 - KCM: If the default ccache cannot be found, fall back to the first one

  • #4816 - Enable generating user private groups only for users with no primary GID

  • #4775 - sssd tools don’t handle the implicit domain

  • #4657 - nested group missing after updates on provider

  • #4635 - FIPS mode breaks using pysss.so (sss_obfuscate)

  • #4493 - online detection in case sssd starts before network does appears to be broken

  • #4428 - sssd does not failover to another IPA server if just the KDC service fails

  • #4297 - [RFE] Make 2FA prompting configurable

  • #2356 - RFE Request for allowing password changes using SSSD in DS which dont follow OID’s from RFC 3062

$ git shortlog --pretty=format:"%h  %s" -w0,4 sssd-2_1_0..sssd-2_2_0

Alexey Tikhonov (24):
    ddc49401b  negcache: avoid "is_*_local" calls in some cases
    d82f978a7  providers/ldap: sdap_extend_map_with_list() fixed
    80e72c856  providers/ldap: const params should be const
    feb08323c  providers/proxy: small optimization
    0f62cc9fb  providers/proxy: fixed wrong check
    cc9f0f419  providers/proxy: fixed usage of wrong mem ctx
    29ac739ee  providers/proxy: got rid of excessive mem copies
    cd1538bc9  providers/proxy: fixed erroneous free of orig_grp
    8efa20204  providers/proxy: const params should be const
    6a6aad282  Util: added facility to load nss lib syms
    2b564f849  responder/negcache: avoid calling nsswitch NSS API
    8e6656c97  negcache_files: got rid of large array on stack
    137b684d0  TESTS: moved cwrap/test_negcache to cmocka tests
    020451135  TESTS: fixed regression in cmocka/test_negcache_2.c
    37fafa6bc  ci/sssd.supp: getpwuid() leak suppression
    dda8075fa  data_provider_be: fixed dereferencing of 'bad' ptr
    bbc9f8acd  TESTS: two `negcache` tests were merged
    29c9ff962  data_provider_be: got rid of went_offline usage
    7308675f1  providers/ipa: Fixed obvious copy-paste error
    2c9413335  providers/ipa: Changed default service search base
    e81215151  TESTS: ability to run unit tests under valgrind
    1e215a788  Monitor & utils: got rid of pid filename duplication
    b239b4ec9  Monitor: fixed bug with services launch
    2a5cc368e  ldap/sdap_idmap.c: removed unnecessary include

Branen Salmon (1):
    9a7b04690  knownhostsproxy: friendly error msg for NXDOMAIN

Colin Walters (1):
    9f9d7ec29  sss_cache: Do nothing if SYSTEMD_OFFLINE=1

Jakub Hrozek (21):
    c295d072a  Updating the version to track the next release
    48c1e3ac3  TESTS: Add a unit test for UPNs stored by sss_ncache_prepopulate
    375478020  UTIL: Add a is_domain_mpg shorthand
    7c83450ab  UTIL: Convert bool mpg to an enum mpg_mode
    fae57dba3  CONFDB: Read auto_private_groups as string, not bool
    db03a19c4  CONFDB/SYSDB: Add the hybrid MPG mode
    2efc41cdd  CACHE_REQ: Add cache_req_data_get_type()
    2ea38097d  NSS: Add the hybrid-MPG mode
    93007c40d  TESTS: Add integration tests for auto_private_groups=hybrid
    4dd268333  SYSDB: Inherit cached_auth_timeout from the main domain
    41c497b8b  AD: Allow configuring auto_private_groups per subdomain or with subdomain_inherit
    1eb3ae1c4  SDAP: Add sdap_has_deref_support_ex()
    9d6361600  IPA: Use dereference for host groups even if the configuration disables dereference
    6bf5bcad6  KCM: Fall back to using the first ccache if the default does not exist
    e474c2dd3  krb5: Do not use unindexed objectCategory in a search filter
    96013bbb7  SYSDB: Index the ccacheFile attribute
    22fc051df  krb5: Silence an error message if no cache entries have ccache stored but renewal is enabled
    c911562d1  PAM: Also cache SSS_PAM_PREAUTH
    9a4d5f060  LDAP: Return the error message from the extended operation password change also on failure
    43c3497b5  Update the translations for the 2.2.0 release
    9f144b92f  Updating the version for the 2.2.0 release

Michal Židek (2):
    2f27dd9f0  GPO: Add option ad_gpo_ignore_unreadable
    bb4be64a2  tests: Add multihost tests to upstream tarball

Mikhail Novosyolov (1):
    b2e48deec  Fix pidpath in systemd unit

Niranjan M.R (7):
    e91856227  TESTS: Add @Title to test case docstrings for basic sanity tests
    0b1406461  TESTS: Add @Title to test case docstrings for config tests
    7513b2195  TESTS: Add @Title to test case docstrings for KCM tests.
    b75dc144a  TESTS: Add @Title to test case docstrings for sssctl config tests.
    7b455916b  TESTS: Add @Title to test case docstrings for sudo tests
    156f89706  TESTS: Add @Title to test case docstrings for files tests.
    83336b313  TESTS: Add @Title to test case docstrings for ifp tests

Pavel Březina (18):
    ce8a607c1  netgroups: honor cache_refresh_percent
    cdd0fd0b9  sdap: add sdap_modify_passwd_send
    f81379c62  sdap: add ldap_pwmodify_mode option
    cf1d7ff79  sdap: split password change to separate request
    7234e68d1  sdap: use ldap_pwmodify_mode to change password
    735af71a8  be: remember last good server's name instead of fo_server structure
    3b0ff2972  sudo ipa: do not store rules without sudoHost attribute
    d411febc9  ipa: store sudo runas attribute with internal fqname
    0aa657165  sudo: format runas attributes to correct output name
    1f5d139d1  memberof: keep memberOf attribute for nested member
    819d70ef6  sudo: always use server highest known usn for smart refresh
    f8bae064e  man: update sudo smart refresh documentation to reflect new USN behavior
    1b6201055  ci: do not fail everything when one distro fails
    60b8cad40  ci: archive test-suite.log
    b4b2c8259  ci: add Fedora 30
    f15aa6c92  ci: remove code duplication in Jenkinsfile
    a517f0472  ci: run moderate set of tests
    32a06ec7a  ci: do not install dependencies

Samuel Cabrero (1):
    10170fe68  SUDO: Allow defaults sudoRole without sudoUser attribute

Sumit Bose (29):
    2f5aca39b  NEGCACHE: initialize UPN negative cache as well
    6b93ee699  NEGCACHE: fix typo in debug message
    640edac42  NEGCACHE: repopulate negative cache after get_domains
    b1d288bf4  ldap: add users_get_handle_no_user()
    e8b2f0dae  ldap: make groups_get_handle_no_group() public
    89d896208  ipa s2n: fix typo
    5d50621c7  ipa s2n: do not add UPG member
    50641d4e3  ipa s2n: try to remove objects not found on the server
    0479c6f15  pam_sss: PAM_USER_UNKNOWN if socket is missing
    fa8ef7c6d  pam: introduce prompt_config struct
    ac4b33f76  authtok: add dedicated type for 2fa with single string
    fc26b4a82  pam_sss: use configured prompting
    a4d178593  PAM: add initial prompting configuration
    45efba71b  intg: add test for password prompt configuration
    d409c10d0  ipa: ipa_getkeytab don't call libnss_sss
    30734e5f2  winbind idmap plugin: update struct idmap_domain to latest version
    f1ce524ed  sdap: update last_usn on reconnect
    3b89934e8  SDAP: allow GSS-SPNEGO for LDAP SASL bind as well
    070f22f89  sdap: inherit SDAP_SASL_MECH if not set explicitly
    2720d97ce  DP: add NULL check to be_ptask_{enable|disable}
    aef8e49b7  certmap: allow missing KU in OpenSSL version
    e1734ba82  test: add certificate without KU to certmap tests
    1c40208aa  certmap: add sss_certmap_display_cert_content()
    e122f495b  sssctl: add cert-show
    b0525a69c  files: add missing newline to debug message
    f91d54e2d  sssctl: add cert-map
    452c4f6c0  tests: fix enctypes in test_copy_keytab
    188a879bc  CI: use python3-pep8 on Fedora 31 and later
    80fdef5fe  BUILD: fix libpython handling in Python3.8

Tom Briden (1):
    11bf12249  build: only do automagic linking against systemd if required

Tomas Halman (6):
    63ccbfe00  krb5_locator: Allow hostname in kdcinfo files
    208a79a83  krb5: Write multiple dnsnames into kdc info file
    fe4288088  Providers: Delay online check on startup
    e8d806d9b  krb5: Lookahead resolving of host names
    073b03a09  sss_cache: Do nothing if /var is read-only
    722ae4b3e  confdb: sssd tools don't handle the implicit domain

Tomislav Dukaric (1):
    aa73e296b  self.OPTCRE.match(line) fails if there's a whitespace before option name, which is valid for SSSD. This will ignore any whitespace before the option

Yuri Chornoivan (1):
    293c09335  Fix various minor typos

realsobek (1):
    3328de790  fix man page reference