mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Combine get_user/group by dn/cn into get_entry_by_cn/dn.
Also a couple double-escaping fixes I missed in the last patch.
This commit is contained in:
@@ -56,7 +56,7 @@ def parse_options():
|
||||
|
||||
def get_group(client, group_cn):
|
||||
try:
|
||||
group = client.get_group_by_cn(group_cn)
|
||||
group = client.get_entry_by_cn(group_cn)
|
||||
except ipa.ipaerror.IPAError, e:
|
||||
print "%s" % e.message
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user