mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-15 19:01:55 -06:00
Don't make the search criteria lower-case so one can do case-sensitive searches (such as looking for HTTP principals)
449975
This commit is contained in:
parent
5c916a1cc8
commit
12899d9053
@ -2080,7 +2080,6 @@ class IPAServer:
|
|||||||
logging.info("IPA: find_service_principal '%s'" % criteria)
|
logging.info("IPA: find_service_principal '%s'" % criteria)
|
||||||
|
|
||||||
criteria = self.__safe_filter(criteria)
|
criteria = self.__safe_filter(criteria)
|
||||||
criteria = criteria.lower()
|
|
||||||
criteria_words = re.split(r'\s+', criteria)
|
criteria_words = re.split(r'\s+', criteria)
|
||||||
criteria_words = filter(lambda value:value!="", criteria_words)
|
criteria_words = filter(lambda value:value!="", criteria_words)
|
||||||
if len(criteria_words) == 0:
|
if len(criteria_words) == 0:
|
||||||
|
Loading…
Reference in New Issue
Block a user