#1362 Fill missing config options in SSSDConfig.py
Closed: Fixed 4 years ago by pbrezina. Opened 11 years ago by jzeleny.

By a simple check I found out that about 60 options we are supporting in our sssd.api.* are missing from Python script SSSDConfig.py (although I'm not sure which of them). These should be filled in.

My measurement method:

$ python
>>> import SSSDConfig as config
>>> len(config.option_strings)
>>> exit()

$ files=`find src/config/etc`
$ options=`for f in $files; do if [ -f $f ]; then cat $f | egrep -v "^[\#\[]" | awk '{print $1}' ; fi; done`
$ export IFS=" "
$ echo $options | sort -u | wc -w

Attached a simple patch for SSSDConfigTest.py to display any options that are missing translations. It produces the following results:

We should fix these and then uncomment the assertion in that patch and push it to master, so we prevent committing without translations in the future.

- entry_cache_nowait_percentage missing translatable description
- get_domains_timeout missing translatable description
- get_domains_timeout missing translatable description
- subdomains_provider missing translatable description
- description missing translatable description
- try_inotify missing translatable description
- pwd_expiration_warning missing translatable description
- simple_allow_groups missing translatable description
- simple_deny_groups missing translatable description
- create_homedir missing translatable description
- remove_homedir missing translatable description
- homedir_umask missing translatable description
- skel_dir missing translatable description
- mail_dir missing translatable description
- userdel_cmd missing translatable description
- ipa_host_search_base missing translatable description
- ipa_subdomains_search_base missing translatable description
- ldap_connection_expire_timeout missing translatable description
- ldap_user_entry_usn missing translatable description
- ldap_group_search_scope missing translatable description
- ldap_group_search_filter missing translatable description
- ldap_group_entry_usn missing translatable description
- ipa_netgroup_object_class missing translatable description
- ipa_netgroup_name missing translatable description
- ipa_netgroup_member missing translatable description
- ipa_netgroup_member_of missing translatable description
- ipa_netgroup_member_user missing translatable description
- ipa_netgroup_member_host missing translatable description
- ipa_netgroup_member_ext_host missing translatable description
- ipa_netgroup_domain missing translatable description
- ipa_netgroup_uuid missing translatable description
- ldap_service_entry_usn missing translatable description
- ipa_host_object_class missing translatable description
- ipa_host_fqdn missing translatable description
- ipa_host_ssh_public_key missing translatable description
- ipa_host_object_class missing translatable description
- ipa_host_name missing translatable description
- ipa_host_fqdn missing translatable description
- ipa_host_serverhostname missing translatable description
- ipa_host_member_of missing translatable description
- ipa_host_ssh_public_key missing translatable description
- ipa_host_uuid missing translatable description
- ipa_hostgroup_objectclass missing translatable description
- ipa_hostgroup_name missing translatable description
- ipa_hostgroup_member missing translatable description
- ipa_hostgroup_memberof missing translatable description
- ipa_hostgroup_uuid missing translatable description
- ipa_host_object_class missing translatable description
- ipa_host_name missing translatable description
- ipa_host_fqdn missing translatable description
- ipa_host_serverhostname missing translatable description
- ipa_host_member_of missing translatable description
- ipa_host_ssh_public_key missing translatable description
- ipa_host_uuid missing translatable description
- ipa_selinux_usermap_object_class missing translatable description
- ipa_selinux_usermap_name missing translatable description
- ipa_selinux_usermap_member_user missing translatable description
- ipa_selinux_usermap_member_host missing translatable description
- ipa_selinux_usermap_see_also missing translatable description
- ipa_selinux_usermap_selinux_user missing translatable description
- ipa_selinux_usermap_enabled missing translatable description
- ipa_selinux_usermap_user_category missing translatable description
- ipa_selinux_usermap_host_category missing translatable description
- ipa_selinux_usermap_uuid missing translatable description
- ldap_connection_expire_timeout missing translatable description
- ldap_user_entry_usn missing translatable description
- ldap_group_search_scope missing translatable description
- ldap_group_search_filter missing translatable description
- ldap_group_entry_usn missing translatable description
- ldap_service_entry_usn missing translatable description

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.10.0
rhbz: => 0
type: defect => task

Fields changed

proposed_priority: => Nice to have

Cleaning the 1.10 milestones before putting tickets into it.

milestone: SSSD 1.10.0 => Temp milestone

Moving planned features and bug fixes into the 1.10 bucket.

milestone: Temp milestone => SSSD 1.10.0

Fields changed

milestone: SSSD 1.10.0 => Temp milestone

Moving all the features planned for 1.10 release into 1.10 beta.

milestone: Temp milestone => SSSD 1.10 beta

Fields changed

selected: => Not need

Moving tickets that are not a priority for SSSD 1.10 into the next release.

milestone: SSSD 1.10 beta => SSSD 1.11 beta

Fields changed

changelog: =>
design: =>
design_review: => 0
fedora_test_page: =>
milestone: SSSD 1.13 beta => Interim Bucket
priority: minor => major
review: => 0

Fields changed

milestone: Interim Bucket => SSSD 1.12 beta

Fields changed

milestone: SSSD 1.12 beta => SSSD 1.13 beta

Fields changed

mark: => 0

Fields changed

milestone: SSSD 1.13 beta => SSSD 1.13 backlog
priority: major => minor

Mass-moving tickets not planned for the next two releases.

Please reply with a comment if you disagree about the move..

milestone: SSSD 1.13 backlog => SSSD 1.15 beta

The missing options should be filled when we find one is missing, so I suggest to defer.

review: 0 => 1
selected: Not need => May
sensitive: => 0

Fields changed

milestone: SSSD Future releases (no date set yet) => SSSD Patches welcome

Metadata Update from @jzeleny:
- Issue set to the milestone: SSSD Patches welcome

7 years ago

Metadata Update from @jhrozek:
- Custom field design_review reset (from 0)
- Custom field mark reset (from 0)
- Custom field patch reset (from 0)
- Custom field review adjusted to on (was: 1)
- Custom field sensitive reset (from 0)
- Custom field testsupdated reset (from 0)
- Issue close_status updated to: None
- Issue tagged with: easyfix

6 years ago
  • master
  • 9483bf4 - SSSDConfig: Update of config options

Metadata Update from @pbrezina:
- Custom field design_review reset (from false)
- Custom field mark reset (from false)
- Custom field patch reset (from false)
- Custom field sensitive reset (from false)
- Custom field testsupdated reset (from false)
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

4 years ago

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

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