summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/trust.py
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2012-08-23 14:17:34 +0200
committerMartin Kosek <mkosek@redhat.com>2012-09-07 16:50:35 +0200
commit377e1267b75e75fe0f5c7c557e1a9cce6b9fa160 (patch)
treeb70d6e88ae95d3de5408e6613e57f90c407e3005 /ipalib/plugins/trust.py
parent1915c2d4dd949edfaefa915daf2250be6cfaeeb3 (diff)
downloadfreeipa-377e1267b75e75fe0f5c7c557e1a9cce6b9fa160.tar.gz
freeipa-377e1267b75e75fe0f5c7c557e1a9cce6b9fa160.tar.xz
freeipa-377e1267b75e75fe0f5c7c557e1a9cce6b9fa160.zip
Rename range CLI to idrange
Diffstat (limited to 'ipalib/plugins/trust.py')
-rw-r--r--ipalib/plugins/trust.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/plugins/trust.py b/ipalib/plugins/trust.py
index f19a0a874..5af5111d5 100644
--- a/ipalib/plugins/trust.py
+++ b/ipalib/plugins/trust.py
@@ -182,7 +182,7 @@ class trust_add(LDAPCreate):
range_name = keys[-1].upper()+'_id_range'
try:
- old_range = api.Command['range_show'](range_name)
+ old_range = api.Command['idrange_show'](range_name)
except errors.NotFound, e:
old_range = None
@@ -209,7 +209,7 @@ class trust_add(LDAPCreate):
base_id = 200000 + (pysss_murmur.murmurhash3(dom_sid, len(dom_sid), 0xdeadbeef) % 10000) * 200000
try:
- new_range = api.Command['range_add'](range_name,
+ new_range = api.Command['idrange_add'](range_name,
ipabaseid=base_id,
ipaidrangesize=options['range_size'],
ipabaserid=0,