Red Hat Bugzilla – Bug 847845
ldap_autofs_* options missing from /usr/share/sssd/sssd.api.d/sssd-ldap.conf
Last modified: 2013-04-10 07:00:44 EDT
I'm trying to write code with SSSDConfig to add several options to my sssd.conf:
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
SSSDConfig.NoOptionError: Section [default] has no option [ldap_autofs_map_object_class]
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.
I should note that I'm doing this in F17.
Fixed in beta7 that hit rawhide yesterday is is going to be released f18 updates-testing soon.
Closing. Jason, thank you for reporting the bug. If you'd like to have this fix released for F-17, then holler and I'll build an updated package for you.
I've long since rolled out an updated package with the upstream patch included. I guess my only concern is whether any future F17 update would show up without that patch included, but I think I'd notice that pretty quickly and re-patch.
I've made a local commit (not pushed) in the f17 branch of the SSSD fedora package -- that should prevent me from issuing an update without the patch :-)
I also plan to eventually backport SSSD 1.9 to F-17 when it bakes in F-18.
Just a note that the 1.8.5 update that was pushed to F17 did not have this fix, so I had to re-patch. Looking forward to 1.9.0 so I'll not have to worry about this again.
sssd-1.8.5-3.fc17 has been submitted as an update for Fedora 17.
Sorry about that, I'm not sure where did the patch go..
I've built an F-17 update and put it through Bodhi.
This appears to have come back at some point; the same code as in the initial comment fails in the same way with sssd-1.8.6-1.fc17.x86_64. It's been a while since I installed a fresh F17 machine, but I'll dig up the patch and build a fixed package locally.
(In reply to comment #9)
> This appears to have come back at some point; the same code as in the
> initial comment fails in the same way with sssd-1.8.6-1.fc17.x86_64. It's
> been a while since I installed a fresh F17 machine, but I'll dig up the
> patch and build a fixed package locally.
Can you try if 1.9 from updates-testing works for you? If so, I would push that update to stable, it contains the fix.
Yes, it does work fine. I gave karma to the update.
Fixed by an update.