[PATCH] add generated NTSTATUS error module for python

Bob Campbell bobcampbell at catalyst.net.nz
Tue Jan 17 23:35:12 UTC 2017


I've changed the attached patches to not remove any statuses that aren't
redefined. The only ones that are removed are now
STATUS_STOPPED_ON_SYMLINK, STATUS_NO_MORE_EAS and
STATUS_EA_LIST_INCONSISTENT. You're right - it is a good idea to keep
them around even if we don't specifically use them in Samba.

Thanks,
Bob

On 17/01/17 23:26, Stefan Metzmacher wrote:
> Am 15.01.2017 um 21:51 schrieb Bob Campbell:
>> The errors that have been removed entirely are:
>> NT_STATUS_ABIOS_NOT_PRESENT
>> NT_STATUS_ABIOS_LID_NOT_EXIST
>> NT_STATUS_ABIOS_LID_ALREADY_OWNED
>> NT_STATUS_ABIOS_NOT_LID_OWNER
>> NT_STATUS_ABIOS_INVALID_COMMAND
>> NT_STATUS_ABIOS_INVALID_LID
>> NT_STATUS_ABIOS_SELECTOR_NOT_AVAILABLE
>> NT_STATUS_ABIOS_INVALID_SELECTOR
>> STATUS_STOPPED_ON_SYMLINK
>> STATUS_NO_MORE_EAS
>> STATUS_EA_LIST_INCONSISTENT
>> NT_STATUS_HANDLE_NOT_WAITABLE
>> NT_STATUS_DEVICE_POWER_FAILURE
>> NT_STATUS_VHD_SHARED
>> NT_STATUS_SMB_BAD_CLUSTER_DIALECT
>> NT_STATUS_IO_REPARSE_DATA_INVALID
>> NT_STATUS_IO_REPARSE_TAG_NOT_HANDLED
>> NT_STATUS_NO_SUCH_JOB
> I'm not sure if all of these should be removed,
> the fact that they're not in MS-ERREF doesn't mean
> for sure they don't exist.
>
> NT_STATUS_VHD_SHARED, NT_STATUS_SMB_BAD_CLUSTER_DIALECT
> and mayber others need to stay.
>
> May all should stay unless they's another define for the same
> value.
>
> metze
>
>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-samba-tool-domain-catch-NTSTATUSError-rather-than-Ru.patch
Type: text/x-patch
Size: 7073 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170117/83673ded/0010-samba-tool-domain-catch-NTSTATUSError-rather-than-Ru.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-samba-tool-domain-use-generated-ntstatus-rather-than.patch
Type: text/x-patch
Size: 8627 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170117/83673ded/0009-samba-tool-domain-use-generated-ntstatus-rather-than.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-samba-tool-domain-change-incorrect-NT_STATUS-to-WERR.patch
Type: text/x-patch
Size: 2341 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170117/83673ded/0008-samba-tool-domain-change-incorrect-NT_STATUS-to-WERR.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-python-Add-python-module-with-NTSTATUS-constants.patch
Type: text/x-patch
Size: 940 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170117/83673ded/0007-python-Add-python-module-with-NTSTATUS-constants.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-errors-remove-duplicate-error-string-table-entries.patch
Type: text/x-patch
Size: 1708 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170117/83673ded/0006-errors-remove-duplicate-error-string-table-entries.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-errors-add-gen_ntstatus.py-to-build-system.patch
Type: text/x-patch
Size: 498401 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170117/83673ded/0005-errors-add-gen_ntstatus.py-to-build-system.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-errors-gen_ntstatus-add-error-table-for-generation-s.patch
Type: text/x-patch
Size: 246053 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170117/83673ded/0004-errors-gen_ntstatus-add-error-table-for-generation-s.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-errors-gen_ntstatus-generate-error-codes-in-specifie.patch
Type: text/x-patch
Size: 11665 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170117/83673ded/0003-errors-gen_ntstatus-generate-error-codes-in-specifie.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-errors-fix-generate-python-error-codes-for-NTSTATUS.patch
Type: text/x-patch
Size: 2621 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170117/83673ded/0002-errors-fix-generate-python-error-codes-for-NTSTATUS.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-errors-generate-python-error-codes-for-NTSTATUS.patch
Type: text/x-patch
Size: 2793 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170117/83673ded/0001-errors-generate-python-error-codes-for-NTSTATUS.bin>


More information about the samba-technical mailing list