diff options
author | Jan Cholasta <jcholast@redhat.com> | 2014-03-27 14:04:00 +0100 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2014-04-18 14:59:20 +0200 |
commit | 4314d02fbf9ef1cb9543ecf76a8d22e79d250214 (patch) | |
tree | 8c6ac601e881712e8cf7c25fce420026a3762553 /ipalib/plugins/service.py | |
parent | c644b47492e22370bc71f57e5ac46b50f9b4e247 (diff) | |
download | freeipa-4314d02fbf9ef1cb9543ecf76a8d22e79d250214.tar.gz freeipa-4314d02fbf9ef1cb9543ecf76a8d22e79d250214.tar.xz freeipa-4314d02fbf9ef1cb9543ecf76a8d22e79d250214.zip |
Allow primary keys to use different type than unicode.
Also return list of primary keys instead of a single unicode CSV value from
LDAPDelete-based commands.
This introduces a new capability 'primary_key_types' for backward
compatibility with old clients.
Reviewed-By: Tomas Babej <tbabej@redhat.com>
Diffstat (limited to 'ipalib/plugins/service.py')
-rw-r--r-- | ipalib/plugins/service.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/service.py b/ipalib/plugins/service.py index 25f02cd12..f590b666a 100644 --- a/ipalib/plugins/service.py +++ b/ipalib/plugins/service.py @@ -661,7 +661,7 @@ class service_disable(LDAPQuery): return dict( result=True, - value=keys[0], + value=pkey_to_value(keys[0], options), ) api.register(service_disable) |