diff options
author | Rob Crittenden <rcritten@redhat.com> | 2008-03-03 17:11:38 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2008-03-03 17:11:38 -0500 |
commit | ea539229516029067d8bb132830577beeed98551 (patch) | |
tree | 308a05cf4deefe453bdca93631f13f73e073e3aa /ipa-server/xmlrpc-server | |
parent | 6301914941a355f0d0e1010199716d4c0bbbd867 (diff) | |
download | freeipa-ea539229516029067d8bb132830577beeed98551.tar.gz freeipa-ea539229516029067d8bb132830577beeed98551.tar.xz freeipa-ea539229516029067d8bb132830577beeed98551.zip |
Filter out K/M and krbtgt principals from the service principals list.
435713
Diffstat (limited to 'ipa-server/xmlrpc-server')
-rw-r--r-- | ipa-server/xmlrpc-server/funcs.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ipa-server/xmlrpc-server/funcs.py b/ipa-server/xmlrpc-server/funcs.py index eeeb2c125..18847955b 100644 --- a/ipa-server/xmlrpc-server/funcs.py +++ b/ipa-server/xmlrpc-server/funcs.py @@ -1896,8 +1896,9 @@ class IPAServer: # TODO - need to parameterize this into generate_match_filters, # and work it into the field-specification search feature # - exact_match_filter = "(&(objectclass=krbPrincipalAux)(!(objectClass=person))(!(krbprincipalname=kadmin/*))%s)" % exact_match_filter - partial_match_filter = "(&(objectclass=krbPrincipalAux)(!(objectClass=person))(!(krbprincipalname=kadmin/*))%s)" % partial_match_filter + exact_match_filter = "(&(objectclass=krbPrincipalAux)(!(objectClass=person))(!(|(krbprincipalname=kadmin/*)(krbprincipalname=K/M@*)(krbprincipalname=krbtgt/*)))%s)" % exact_match_filter + partial_match_filter = "(&(objectclass=krbPrincipalAux)(!(objectClass=person))(!(|(krbprincipalname=kadmin/*)(krbprincipalname=K/M@*)(krbprincipalname=krbtgt/*)))%s)" % partial_match_filter + conn = self.getConnection(opts) try: |