[SSSD] [PATCH] Fix SSSDConfig.deactivate_domain()

Stephen Gallagher sgallagh at redhat.com
Wed Dec 9 12:11:16 UTC 2009


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

deactivate_domain() would crash if it attempted to deactivate an
already-inactive domain

This makes it tolerant of double-deactivations.

The patch also adds a set of unit tests for both activate_domain() and
deactivate_domain()
- -- 
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/

iEYEARECAAYFAksfk+QACgkQeiVVYja6o6OcrwCfSK843QX4oyvmXJ34gZrSC83M
wcEAn1I4IF0WDb7vpHg9f5ezV63DUFZ8
=hOBE
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-SSSDConfig-API-fix-deactivate_domain.patch
Type: text/x-patch
Size: 4729 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20091209/c4dc9922/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-SSSDConfig-API-fix-deactivate_domain.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20091209/c4dc9922/attachment.sig>


More information about the sssd-devel mailing list