summaryrefslogtreecommitdiffstats
path: root/ipa-admintools
diff options
context:
space:
mode:
authorKevin McCarthy <kmccarth@redhat.com>2007-10-09 09:26:16 -0700
committerKevin McCarthy <kmccarth@redhat.com>2007-10-09 09:26:16 -0700
commit2b38769b50b51d28111a07be86d9fc70e5b6b8f5 (patch)
tree0eb02fb25e56a42b11f32ff83cde1f5337ae28ce /ipa-admintools
parentaaa992b74405f41e2f51d1fb2946c57303c3de07 (diff)
downloadfreeipa-2b38769b50b51d28111a07be86d9fc70e5b6b8f5.tar.gz
freeipa-2b38769b50b51d28111a07be86d9fc70e5b6b8f5.tar.xz
freeipa-2b38769b50b51d28111a07be86d9fc70e5b6b8f5.zip
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.
Diffstat (limited to 'ipa-admintools')
-rw-r--r--ipa-admintools/ipa-groupmod2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipa-admintools/ipa-groupmod b/ipa-admintools/ipa-groupmod
index e0e953077..60fadd48f 100644
--- a/ipa-admintools/ipa-groupmod
+++ b/ipa-admintools/ipa-groupmod
@@ -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