diff options
author | Rob Crittenden <rcritten@redhat.com> | 2012-08-01 16:14:11 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2012-08-01 16:15:51 +0200 |
commit | fb817d340139822d17414da93853be5bc3bf6086 (patch) | |
tree | 4f086f792a9e776b71e36fcc5c693e3df1e687a2 /tests | |
parent | fd31396d5129b1980d3ce979af7239f16d3f6fc5 (diff) | |
download | freeipa-fb817d340139822d17414da93853be5bc3bf6086.tar.gz freeipa-fb817d340139822d17414da93853be5bc3bf6086.tar.xz freeipa-fb817d340139822d17414da93853be5bc3bf6086.zip |
Add per-service option to store the types of PAC it supports
Create a per-service default as well.
https://fedorahosted.org/freeipa/ticket/2184
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_xmlrpc/test_host_plugin.py | 1 | ||||
-rw-r--r-- | tests/test_xmlrpc/test_service_plugin.py | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/test_xmlrpc/test_host_plugin.py b/tests/test_xmlrpc/test_host_plugin.py index 01915258..03aa089a 100644 --- a/tests/test_xmlrpc/test_host_plugin.py +++ b/tests/test_xmlrpc/test_host_plugin.py @@ -615,6 +615,7 @@ class test_host(Declarative): krbprincipalname=[service1], objectclass=objectclasses.service, managedby_host=[fqdn1], + ipakrbauthzdata=[u'MS-PAC'], ipauniqueid=[fuzzy_uuid], ), ), diff --git a/tests/test_xmlrpc/test_service_plugin.py b/tests/test_xmlrpc/test_service_plugin.py index 5f089fbb..28c6bb66 100644 --- a/tests/test_xmlrpc/test_service_plugin.py +++ b/tests/test_xmlrpc/test_service_plugin.py @@ -179,6 +179,7 @@ class test_service(Declarative): krbprincipalname=[service1], objectclass=objectclasses.service, ipauniqueid=[fuzzy_uuid], + ipakrbauthzdata=[u'MS-PAC'], managedby_host=[fqdn1], ), ), @@ -207,6 +208,7 @@ class test_service(Declarative): dn=lambda x: DN(x) == service1dn, krbprincipalname=[service1], has_keytab=False, + ipakrbauthzdata=[u'MS-PAC'], managedby_host=[fqdn1], ), ), @@ -226,6 +228,7 @@ class test_service(Declarative): objectclass=objectclasses.service, ipauniqueid=[fuzzy_uuid], managedby_host=[fqdn1], + ipakrbauthzdata=[u'MS-PAC'], has_keytab=False ), ), @@ -244,6 +247,7 @@ class test_service(Declarative): dn=lambda x: DN(x) == service1dn, krbprincipalname=[service1], managedby_host=[fqdn1], + ipakrbauthzdata=[u'MS-PAC'], has_keytab=False, ), ], @@ -265,6 +269,7 @@ class test_service(Declarative): ipakrbprincipalalias=[service1], objectclass=objectclasses.service, ipauniqueid=[fuzzy_uuid], + ipakrbauthzdata=[u'MS-PAC'], has_keytab=False, managedby_host=[fqdn1], ), @@ -282,6 +287,7 @@ class test_service(Declarative): result=dict( dn=lambda x: DN(x) == service1dn, krbprincipalname=[service1], + ipakrbauthzdata=[u'MS-PAC'], managedby_host=[fqdn1], ), ), @@ -297,6 +303,7 @@ class test_service(Declarative): result=dict( dn=lambda x: DN(x) == service1dn, krbprincipalname=[service1], + ipakrbauthzdata=[u'MS-PAC'], managedby_host=[fqdn1], ), ), @@ -312,6 +319,7 @@ class test_service(Declarative): result=dict( dn=lambda x: DN(x) == service1dn, krbprincipalname=[service1], + ipakrbauthzdata=[u'MS-PAC'], managedby_host=[fqdn1, fqdn2], ), ), @@ -327,6 +335,7 @@ class test_service(Declarative): result=dict( dn=lambda x: DN(x) == service1dn, krbprincipalname=[service1], + ipakrbauthzdata=[u'MS-PAC'], managedby_host=[fqdn1], ), ), @@ -342,6 +351,7 @@ class test_service(Declarative): result=dict( dn=lambda x: DN(x) == service1dn, krbprincipalname=[service1], + ipakrbauthzdata=[u'MS-PAC'], managedby_host=[fqdn1, fqdn3.lower()], ), ), @@ -357,6 +367,7 @@ class test_service(Declarative): result=dict( dn=lambda x: DN(x) == service1dn, krbprincipalname=[service1], + ipakrbauthzdata=[u'MS-PAC'], managedby_host=[fqdn1], ), ), @@ -381,6 +392,7 @@ class test_service(Declarative): result=dict( usercertificate=[base64.b64decode(servercert)], krbprincipalname=[service1], + ipakrbauthzdata=[u'MS-PAC'], managedby_host=[fqdn1], valid_not_before=fuzzy_date, valid_not_after=fuzzy_date, @@ -408,6 +420,7 @@ class test_service(Declarative): krbprincipalname=[service1], has_keytab=False, managedby_host=[fqdn1], + ipakrbauthzdata=[u'MS-PAC'], # These values come from the servercert that is in this # test case. valid_not_before=fuzzy_date, |