#4102 Null dereference in sssctl/sssctl_domains.c:sssctl_domain_status_active_server()
Closed: Fixed a year ago by pbrezina. Opened a year ago by atikhonov.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 8): Bug 1761047

This bug has been created based on an anonymous crash report requested by the
package maintainer.

sssctl crashes with core dump when sssd.conf is configured with multiple
domains

[root@vm-10-0-154-49 abrt]# cat /etc/sssd/sssd.conf
[sssd]
config_file_version = 2
sbus_timeout = 30
services = pam, nss
domains = proxy, ldap2

[domain/proxy]
auth_provider = proxy
enumerate = True
id_provider = proxy
debug_level = 0xFFF0
proxy_lib_name = ldap
proxy_pam_target = sssdproxyldap

[domain/ldap2]
id_provider = ldap
auth_provider = ldap
chpass_provider = ldap
ldap_id_use_start_tls = True
debug_level = 0xFFF0
enumerate = True
ldap_tls_cacert = /etc/openldap/cacerts/cacert.pem
ldap_search_base = dc=example1,dc=test
ldap_uri = ldaps://vm-10-0-154-50.hosted.upshift.rdu2.redhat.com

[nss]
filter_groups = root
filter_users = root

[pam]
debug_level = 9


Run sssctl.

[root@vm-10-0-154-49 abrt]# sssctl domain-status proxy
Online status: Online

Active servers:
Segmentation fault (core dumped)

Metadata Update from @atikhonov:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1761047

a year ago

Metadata Update from @atikhonov:
- Issue assigned to atikhonov

a year ago

Metadata Update from @atikhonov:
- Issue tagged with: bug

a year ago

Metadata Update from @atikhonov:
- Issue tagged with: PR

a year ago
  • master
    • 75b1fe6 - sssctl/sssctl_domains.c: null dereference fixed

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/5066

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.

Login to comment on this ticket.

Metadata