mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipalib.config: Only convert basedn to DN
The current code would convert values to DN if the key was a substring of 'basedn', e.g. 'base' or 'sed'. Only convert if we're actually dealing with 'basedn'. Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>
This commit is contained in:
parent
98851256f9
commit
da64c891e9
@ -257,7 +257,7 @@ class Env(object):
|
||||
value = m[value]
|
||||
elif value.isdigit():
|
||||
value = int(value)
|
||||
elif key in ('basedn'):
|
||||
elif key == 'basedn':
|
||||
value = DN(value)
|
||||
else:
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user