Ticket #441 (closed defect: fixed)

Opened 7 years ago

Last modified 5 years ago

SSSDConfig API sometimes reverts options to default when importing a config

Reported by: sgallagh Owned by: sgallagh
Priority: critical Milestone: SSSD 1.1.1
Component: SSSDConfig API Version: 1.1.0
Keywords: Cc:
Blocked By: Blocking:
Sensitive: Tests Updated: yes
Coverity Bug: Patch Submitted: no
Red Hat Bugzilla: 0 Design link:
Feature Milestone:
Design review: Fedora test page:
Chosen: Candidate to push out:
Release Notes:
Temp mark:


This was discovered during authconfig testing.

Setting the ldap_id_use_start_tls flag works, but when reading the sssd.conf back in (such as on a subsequent run of authconfig), it would be reset to its default of false again.

The reason is a faulty check in the get_domain() function when populating the values. It was not filtering out the providers, which then overwrote the existing values with the defaults.

Change History

comment:1 Changed 7 years ago by sgallagh

  • Status changed from new to assigned

comment:2 Changed 7 years ago by sgallagh

  • fixedin set to 1.1.1
  • Status changed from assigned to closed
  • Tests Updated set
  • Resolution set to fixed

comment:3 Changed 6 years ago by jgalipea

  • tests changed from 1 to 0
  • upgrade set to 0
  • Patch Submitted unset

comment:4 Changed 5 years ago by dpal

  • Red Hat Bugzilla set to 0
Note: See TracTickets for help on using tickets.