Ticket #1478 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

ldap_autofs_* options missing from /usr/share/sssd/sssd.api.d/sssd-ldap.conf

Reported by: jhrozek Owned by: jhrozek
Priority: major Milestone: SSSD 1.9.0 beta 7
Component: SSSD Version:
Keywords: Cc:
Blocked By: Blocking:
Sensitive: Tests Updated: no
Coverity Bug: Patch Submitted: yes
Red Hat Bugzilla: 847845 Design link:
Feature Milestone:
Design review: Fedora test page:
Chosen: Candidate to push out:
Release Notes:
Temp mark:


https://bugzilla.redhat.com/show_bug.cgi?id=847845 (Fedora)

I'm trying to write code with SSSDConfig to add several options to my

ldap_autofs_map_object_class = nisMap
ldap_autofs_map_name = nisMapName
ldap_autofs_entry_object_class = nisObject
ldap_autofs_entry_key = cn
ldap_autofs_entry_value = nisMapEntry

Unfortunately the following code snippet fails:


from SSSDConfig import SSSDConfig
b.add_provider('ldap', 'autofs')
b.set_option('ldap_autofs_map_object_class', 'nisMap')

SSSDConfig.NoOptionError: Section [default] has no option

It appears that /usr/share/sssd/sssd.api.d/sssd-ldap.conf has a section for
"[provider/ldap/autofs]" but it contains no items at all.

Change History

comment:1 Changed 5 years ago by jhrozek

  • Status changed from new to assigned
  • tests set to 0
  • upgrade set to 0
  • Tests Updated unset
  • Patch Submitted set
  • Owner changed from somebody to jhrozek

comment:2 Changed 5 years ago by jhrozek

  • Status changed from assigned to closed
  • Resolution set to fixed

comment:3 Changed 5 years ago by jhrozek

  • Milestone changed from NEEDS_TRIAGE to SSSD 1.9.0 RC1
Note: See TracTickets for help on using tickets.