summaryrefslogtreecommitdiffstats
path: root/ipapython
diff options
context:
space:
mode:
authorAlexander Bokovoy <abokovoy@redhat.com>2014-02-26 17:43:34 +0200
committerMartin Kosek <mkosek@redhat.com>2014-02-27 14:33:15 +0100
commit3a7ba6013ffe43176bcff2c716b33552853847ff (patch)
treebeed9d5cb3d75ed58b1a2cea91afdc99f48eb455 /ipapython
parent41ca5afba79110a8dfb9dd713df2d909b5210294 (diff)
ipaserver/dcerpc: catch the case of insuffient permissions when establishing trust
We attempt to delete the trust that might exist already. If there are not enough privileges to do so, we wouldn't be able to create trust at the next step and it will fail. However, failure to create trust will be due to the name collision as we already had the trust with the same name before. Thus, raise access denied exception here to properly indicate wrong access level instead of returning NT_STATUS_OBJECT_NAME_COLLISION. https://fedorahosted.org/freeipa/ticket/4202 Reviewed-By: Martin Kosek <mkosek@redhat.com>
Diffstat (limited to 'ipapython')
0 files changed, 0 insertions, 0 deletions