diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-07-04 02:54:32 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:19:09 -0500 |
commit | 950f6624842628b770bf58424f3b2ab9a7036263 (patch) | |
tree | f17c440e8306eb0c1198d49f58717e1fe8ebf05f /source4/torture/auth/pac.c | |
parent | dbd2688c9042faaa44f4d89068a8351523233875 (diff) | |
download | samba-950f6624842628b770bf58424f3b2ab9a7036263.tar.gz samba-950f6624842628b770bf58424f3b2ab9a7036263.tar.bz2 samba-950f6624842628b770bf58424f3b2ab9a7036263.zip |
r8111: fixed the client library to work against w2k3 with nt status codes
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)
Diffstat (limited to 'source4/torture/auth/pac.c')
0 files changed, 0 insertions, 0 deletions