Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

authconfig crashes if case_sensitive=preserving in sssd.conf #3494

Closed
sssd-bot opened this issue May 2, 2020 · 0 comments
Closed

authconfig crashes if case_sensitive=preserving in sssd.conf #3494

sssd-bot opened this issue May 2, 2020 · 0 comments
Assignees
Labels
Bugzilla Closed: Fixed Issue was closed as fixed.

Comments

@sssd-bot
Copy link

sssd-bot commented May 2, 2020

Cloned from Pagure issue: https://pagure.io/SSSD/sssd/issue/2452


Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1147663

Description of problem:
authconfig crashes if case_sensitive=preserving in sssd.conf

Version-Release number of selected component (if applicable):
authconfig-6.2.8-8.el7.x86_64
sssd-1.12.1-2.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Add case_sensitive=preserving in the domain section of sssd.conf
# authconfig --enablesssd --enablesssdauth --updateall
Traceback (most recent call last):
  File "/usr/sbin/authconfig", line 1067, in <module>
    sys.exit(module.run())
  File "/usr/sbin/authconfig", line 643, in run
    self.readAuthInfo()
  File "/usr/sbin/authconfig", line 414, in readAuthInfo
    self.info = authinfo.read(self.printError)
  File "/usr/share/authconfig/authinfo.py", line 985, in read
    info.read()
  File "/usr/share/authconfig/authinfo.py", line 2470, in read
    self.readSSSD(ref)
  File "/usr/share/authconfig/authinfo.py", line 1853, in readSSSD
    domain = self.sssdConfig.get_domain(domname)
  File "/usr/lib/python2.7/site-packages/SSSDConfig/__init__.py", line 1847, in
get_domain
    domain.set_option(opt['name'], opt['value'])
  File "/usr/lib/python2.7/site-packages/SSSDConfig/__init__.py", line 1149, in
set_option
    (option_schema[0], option, type(value)))
TypeError: Expected <type 'bool'> for case_sensitive, received <type 'str'>


Actual results:
traceback in authconfig

Expected results:
authconfig should not crash

Additional info:

Comments


Comment from jhrozek at 2014-10-01 15:21:46

Fields changed

blockedby: =>
blocking: =>
changelog: =>
coverity: =>
design: =>
design_review: => 0
feature_milestone: =>
fedora_test_page: =>
mark: no => 0
owner: somebody => mzidek
patch: 0 => 1
review: True => 0
selected: =>
testsupdated: => 0


Comment from jhrozek at 2014-10-01 17:27:11


Comment from mzidek at 2014-10-01 17:49:39

Fields changed

resolution: => fixed
status: new => closed


Comment from jhrozek at 2014-10-01 19:35:03

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.12.2


Comment from jhrozek at 2017-02-24 14:24:17

Metadata Update from @jhrozek:

  • Issue assigned to mzidek
  • Issue set to the milestone: SSSD 1.12.2
@sssd-bot sssd-bot added Bugzilla Closed: Fixed Issue was closed as fixed. labels May 2, 2020
@sssd-bot sssd-bot closed this as completed May 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugzilla Closed: Fixed Issue was closed as fixed.
Projects
None yet
Development

No branches or pull requests

2 participants