diff options
author | Jan Cholasta <jcholast@redhat.com> | 2015-10-13 10:10:48 +0200 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2015-10-13 14:34:00 +0200 |
commit | 2f3450249ded2c14d2ca55f15bdcace7007a6ebb (patch) | |
tree | 3201067fc127d0fba7ce090c3854947baac49bf2 /ipalib | |
parent | 88fc27da529e2d098a10bac4abb280a0445dfa5f (diff) | |
download | freeipa-2f3450249ded2c14d2ca55f15bdcace7007a6ebb.tar.gz freeipa-2f3450249ded2c14d2ca55f15bdcace7007a6ebb.tar.xz freeipa-2f3450249ded2c14d2ca55f15bdcace7007a6ebb.zip |
vault: fix private service vault creation
https://fedorahosted.org/freeipa/ticket/5361
Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
Diffstat (limited to 'ipalib')
-rw-r--r-- | ipalib/plugins/vault.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/plugins/vault.py b/ipalib/plugins/vault.py index b5bd50bbd..f94bf9d65 100644 --- a/ipalib/plugins/vault.py +++ b/ipalib/plugins/vault.py @@ -400,7 +400,7 @@ class vaultcontainer(LDAPObject): (name, realm) = split_principal(principal) if '/' in name: - service = name + service = principal else: user = name @@ -718,7 +718,7 @@ class vault(LDAPObject): (name, realm) = split_principal(principal) if '/' in name: - service = name + service = principal else: user = name |