diff options
author | Tomas Babej <tbabej@redhat.com> | 2012-12-21 05:34:37 -0500 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2013-02-26 09:32:30 +0100 |
commit | 4ba2700de494f59cdb4993cba5f259c8d2894d1e (patch) | |
tree | 98367e60e0985743783bed473d3cd5642b722f7c /ipalib/cli.py | |
parent | 54a53bca486a4ae501183dd4a35da0e320425510 (diff) | |
download | freeipa.git-4ba2700de494f59cdb4993cba5f259c8d2894d1e.tar.gz freeipa.git-4ba2700de494f59cdb4993cba5f259c8d2894d1e.tar.xz freeipa.git-4ba2700de494f59cdb4993cba5f259c8d2894d1e.zip |
Make options checks in idrange-add/mod consistent
Both now enforce the following checks:
- dom_sid and secondary_rid_base cannot be used together
- rid_base must be used together if dom_rid is set
- secondary_rid_base and rid_base must be used together
if dom_rid is not set
Unit test for third check has been added.
http://fedorahosted.org/freeipa/ticket/3170
Diffstat (limited to 'ipalib/cli.py')
0 files changed, 0 insertions, 0 deletions