#2487 sssd does not work with custom value of option re_expression
Closed: Fixed Opened by lslebodn.

How to reproduce:
- configure sssd with ipa (ipa-client-install)
- amend sssd configuration with following snippet

re_expression = (?P<name>[^@]+)@(?P<domain>[^@]+)
full_name_format = %1$s@%2$s
use_fully_qualified_names = True
- try to obtain info about user
   getent passwd admin@ipa.domain

The change can be related to views because there is a failure in sssd_nss.log
(the request was not populated to backend due to this failure)

[nss_cmd_getbynam] (0x0400): Running command [17] with input [admin@ipa.domain].
[sss_parse_name_for_domains] (0x0200): name 'admin@ipa.domain' matched expression for domain 'ipa.domain', user is admin
[nss_cmd_getbynam] (0x0100): Requesting info for [admin] from [ipa.domain]
[sss_ncache_check_str] (0x2000): Checking negative cache for [NCE/USER/ipa.domain/admin]
[nss_cmd_getpwnam_search] (0x0100): Requesting info for [admin@ipa.domain]
[sysdb_getpwnam_with_views] (0x0040): sysdb_getpwnam failed.
[nss_cmd_getpwnam_search] (0x0020): Failed to make request to our cache!
[reset_idle_timer] (0x4000): Idle timer re-set for client [0x7f582f90fbb0][20] 
[reset_idle_timer] (0x4000): Idle timer re-set for client [0x7f582f90fbb0][20] 
[client_recv] (0x0200): Client disconnected!
[client_destructor] (0x2000): Terminated client [0x7f582f90fbb0][20]

It is not visible in sssd_nss log file, but function sysdb_getpwnam failed because it called function sss_get_domain_name which returned NULL.


RHEL regression, marking as critical and moving to the milestone where the regression occured.

milestone: NEEDS_TRIAGE => SSSD 1.12.3

Ticket has been cloned to Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1165794

rhbz: => [https://bugzilla.redhat.com/show_bug.cgi?id=1165794 1165794]

Fields changed

owner: somebody => jhrozek
status: new => assigned

Fields changed

owner: jhrozek => mzidek
status: assigned => new

Fields changed

patch: 0 => 1

  • e894a127a9979dea667408b0cced59fedc3bcd0a
  • 8394eddba54b5d3e3fda868145e3751247bdbdb2
  • 5777a98940bd742d213fba8ff55c070c5a058fc6

resolution: => fixed
status: new => closed

Metadata Update from @lslebodn:
- Issue assigned to mzidek
- Issue set to the milestone: SSSD 1.12.3

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/3529

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata