summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorAlexander Bokovoy <abokovoy@redhat.com>2012-08-01 10:14:09 +0300
committerMartin Kosek <mkosek@redhat.com>2012-08-03 11:00:54 +0200
commit1be46b322f1fe469cf3cc5e5a77a96b29f8beb7f (patch)
tree9ccf197b8b0c32c68adc1cc21bc9964a515afc42 /README
parent9bfa905e722767de1c075e281012a152e7abc190 (diff)
downloadfreeipa-1be46b322f1fe469cf3cc5e5a77a96b29f8beb7f.tar.gz
freeipa-1be46b322f1fe469cf3cc5e5a77a96b29f8beb7f.tar.xz
freeipa-1be46b322f1fe469cf3cc5e5a77a96b29f8beb7f.zip
Handle exceptions when establishing trusts
Translate exceptions produced by DCERPC bindings when establishing trusts. There are two types of errors that may be produced by DCERPC bindings: - RuntimeError with a text (RuntimeError('NT_STATUS_OBJECT_NAME_NOT_FOUND') - RuntimeError with a numeric code and 'friendly' message Error codes could have two prefixes: - NT error codes, start with NT_STATUS_ prefix - Windows error codes, start with WERR_ prefix Full list of errors is available in Samba source code: libcli/util/ntstatus.h: NT_STATUS error codes libcli/util/werror.h: Windows error codes Majority of errors returned when dealing with trusts are of NT_STATUS type, these also include all typical POSIX errors mapped to corresponding NT errors. Unfortunately, in the textual RuntimeError case very little can be done to get better clarification of the error. More error paths will need to be added as they will be discovered -- DCERPC error messaging is complex. https://fedorahosted.org/freeipa/ticket/2868
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions