[SSSD] [PATCH] Add mandatory flag to SSSD config schema

Stephen Gallagher sgallagh at redhat.com
Thu Jan 7 16:54:51 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/05/2010 11:11 AM, Jakub Hrozek wrote:
> On 01/04/2010 07:31 PM, Stephen Gallagher wrote:
>> Also add list_mandatory_options() to both SSSDService and
>> SSSDDomain objects.
> 
>> There is a new list_options_with_mandatory() function that will
>> return a longer tuple than list_options(), including the mandatory
>> flag directly.
> 
>> list_options() will still return the shorter tuple, for
>> backwards-compatibility.
> 
>> This feature will allow authconfig (a consumer of the SSSDConfig API) to
>> produce a simpler interface listing only the mandatory options for each
>> provider. This should result in a less confusing GUI.
> 
> 
> Ack,
> 
> but as discussed off-list it might be nice to amend the commit message
> with explanation on why was the default value for debug_level and
> reconnection_retries in [services] removed with the patch.

Address https://fedorahosted.org/sssd/ticket/349


After a bit of thought, I decided to break this into two separate
patches to make it more clear. New patches attached.

Patch 0002: Remove the explicit defaults where they're unneeded.
Patch 0003: Implement the mandatory flag as in the previous patch.

- -- 
Stephen Gallagher
RHCE 804006346421761

Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAktGEdsACgkQeiVVYja6o6MEwQCfTk4dfXCVHfhqtsEIUtzlUv4z
wm0An0qAk3v6o58nIBXHKx7aISo875ms
=qw7L
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Remove-unnecessary-explicit-defaults-from-SSSDConfig.patch
Type: text/x-patch
Size: 2356 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100107/08dbacb1/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Add-mandatory-flag-to-SSSD-config-schema.patch
Type: text/x-patch
Size: 34638 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100107/08dbacb1/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Remove-unnecessary-explicit-defaults-from-SSSDConfig.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100107/08dbacb1/attachment.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Add-mandatory-flag-to-SSSD-config-schema.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100107/08dbacb1/attachment-0001.sig>


More information about the sssd-devel mailing list