svn commit: samba r8111 - in branches/SAMBA_4_0/source: include libcli/raw libcli/util

tridge at samba.org tridge at samba.org
Mon Jul 4 02:54:33 GMT 2005


Author: tridge
Date: 2005-07-04 02:54:32 +0000 (Mon, 04 Jul 2005)
New Revision: 8111

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8111

Log:
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.

Modified:
   branches/SAMBA_4_0/source/include/nt_status.h
   branches/SAMBA_4_0/source/libcli/raw/clitransport.c
   branches/SAMBA_4_0/source/libcli/util/errormap.c


Changeset:
Sorry, the patch is too large (359 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8111


More information about the samba-cvs mailing list