[SSSD] [PATCH] Add SSSDConfig python API

Stephen Gallagher sgallagh at redhat.com
Fri Oct 9 18:32:31 UTC 2009


This patch adds a python API for managing the SSSD configuration. It
corresponds to the API specification at
https://fedorahosted.org/sssd/wiki/SSSDPythonConfigApi

Don't be scared by the size of the patch: two-thirds of it are unit tests.

This patch does not include any Makefile or specfile changes for this
API yet.

To run the tests, merely cd into the sssd/server/config directory and
run 'python SSSDConfigTest.py'

There is one known limitation with this patch. The config file, when
output, is not using a logical ordering of the sections. I will fix this
in a subsequent patch, but this patch is fully functional, and intended
to be used for automatic or GUI-driven configuration, so making the
output pretty is a nice enhancement, but not urgent.

-- 
Stephen Gallagher
RHCE 804006346421761

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Add-new-SSSDConfig-python-API.patch
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20091009/48cfdcfe/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20091009/48cfdcfe/attachment.sig>


More information about the sssd-devel mailing list