summaryrefslogtreecommitdiff
path: root/net/samba3/files/patch-jerry-rpc_dce.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba3/files/patch-jerry-rpc_dce.h')
-rw-r--r--net/samba3/files/patch-jerry-rpc_dce.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/net/samba3/files/patch-jerry-rpc_dce.h b/net/samba3/files/patch-jerry-rpc_dce.h
new file mode 100644
index 000000000000..e99931e00cd0
--- /dev/null
+++ b/net/samba3/files/patch-jerry-rpc_dce.h
@@ -0,0 +1,16 @@
+Index: source/include/rpc_dce.h
+===================================================================
+--- include/rpc_dce.h (revision 842)
++++ include/rpc_dce.h (working copy)
+@@ -63,8 +63,10 @@
+ #define NETSEC_AUTH_TYPE 0x44
+ #define NETSEC_SIGN_SIGNATURE { 0x77, 0x00, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00 }
+ #define NETSEC_SEAL_SIGNATURE { 0x77, 0x00, 0x7a, 0x00, 0xff, 0xff, 0x00, 0x00 }
+-#define RPC_AUTH_NETSEC_CHK_LEN 0x20
+
++#define RPC_AUTH_NETSEC_SIGN_OR_SEAL_CHK_LEN 0x20
++#define RPC_AUTH_NETSEC_SIGN_ONLY_CHK_LEN 0x18
++
+ /* The 7 here seems to be required to get Win2k not to downgrade us
+ to NT4. Actually, anything other than 1ff would seem to do... */
+ #define NETLOGON_NEG_AUTH2_FLAGS 0x000701ff