summaryrefslogtreecommitdiff
path: root/source4/include/nt_status.h
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r8111: fixed the client library to work against w2k3 with nt status codesAndrew Tridgell1-1/+3
disabled. The main change is to turn off spnego, which cannot work at all without nt status codes (w2k3 gives a ERRHRD:ERRgeneral error when you try) I also modified NT_STATUS_EQUAL() to allow for nt->dos code equality, but only when nt status codes are disabled in smb.conf. That keeps all the existing torture code working, while still allowing us to correctly catch the cases where forced dos error codes are needed The dos->ntstatus mapping table has been removed completely, as it doesn't really make sense, is impossible to get right, and with the new dos status handling isn't needed. When matching a nt status code to a dos status code it makes far more sense to map from the nt code to the dos code and compare, rather than the reverse, as the nt->dos mapping is what windows has to do internally, so there really is a valid mapping table. (This used to be commit f21274e07b361ef40fdc0fe23e96f1c9c63a091c)
2007-10-10r7626: a new ldap client library. Main features are:Andrew Tridgell1-0/+5
- hooked into events system, so requests can be truly async and won't interfere with other processing happening at the same time - uses NTSTATUS codes for errors (previously errors were mostly ignored). In a similar fashion to the DOS error handling, I have reserved a range of the NTSTATUS code 32 bit space for LDAP error codes, so a function can return a LDAP error code in a NTSTATUS - much cleaner packet handling (This used to be commit 2e3c660b2fc20e046d82bf1cc296422b6e7dfad0)
2007-10-10r4607: add some usefull macros to make the code more readableStefan Metzmacher1-0/+36
metze (This used to be commit 62c45635ff8a158acefd4ae2aae2ffc352a97113)
2007-10-10r4421: fix typoStefan Metzmacher1-2/+2
metze (This used to be commit 222abd4171ce69c65a13b52675d4d75009056bca)
2007-10-10r4420: - add usefull helper macros for allocation failures,Stefan Metzmacher1-0/+13
they should be used in mostly all our code after calling a talloc_* function - the current NTSTATUS_TALLOC_CHECK() and WERR_TALLOC_CHECK() should be replaced by this new macros metze (This used to be commit b6376590f4b2409b2237809d378d9425fe1ce07e)
2007-10-10r884: convert samba4 to use [u]int32_t instead of [u]int32Stefan Metzmacher1-4/+4
metze (This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095)
2007-10-10r549: added support for DOS error codes in NTSTATUS returns. This uses aAndrew Tridgell1-0/+8
range of NTSTATUS codes that are normally invalid to prevent conflicts with real error codes. use the new DOS facility to fix the ERRbaduid return that volker found (This used to be commit 10fdfb52398857b604fff9684ee65a96d970bdaa)
2003-08-13first public release of samba4 codeAndrew Tridgell1-0/+63
(This used to be commit b0510b5428b3461aeb9bbe3cc95f62fc73e2b97f)