diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-01-10 07:14:12 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:08:35 -0500 |
commit | 5da3f75a5975c09dc1db0b1ad146acf1d5f3ae41 (patch) | |
tree | ae73c01bdac2e45686eb381f9c1d16fd401f12e4 /source4/librpc/rpc/dcerpc.h | |
parent | f6596e4ae77c0125a1362e483aa1aedb8cf489c1 (diff) | |
download | samba-5da3f75a5975c09dc1db0b1ad146acf1d5f3ae41.tar.gz samba-5da3f75a5975c09dc1db0b1ad146acf1d5f3ae41.tar.xz samba-5da3f75a5975c09dc1db0b1ad146acf1d5f3ae41.zip |
r4627: - simplified the dcerpc auth code using a common function
- added support for "spnego" in binding strings. This enables SPNEGO
auth in the dcerpc client code, using as many allter_context calls as
are needed
To try SPNEGO do this:
smbtorture ncacn_ip_tcp:SERVER[spnego,seal] -Uadministrator%password RPC-SAMR
(This used to be commit 9c0a3423f03111c110d21c0d3910e16aa1a8bf87)
Diffstat (limited to 'source4/librpc/rpc/dcerpc.h')
-rw-r--r-- | source4/librpc/rpc/dcerpc.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source4/librpc/rpc/dcerpc.h b/source4/librpc/rpc/dcerpc.h index 40ac18d13cd..289e17fb81b 100644 --- a/source4/librpc/rpc/dcerpc.h +++ b/source4/librpc/rpc/dcerpc.h @@ -119,17 +119,21 @@ struct dcerpc_pipe { #define DCERPC_SCHANNEL_ANY (DCERPC_SCHANNEL_BDC| \ DCERPC_SCHANNEL_DOMAIN| \ DCERPC_SCHANNEL_WORKSTATION) -/* use a 128 bit session key */ -#define DCERPC_SCHANNEL_128 (1<<12) #define DCERPC_AUTH_OPTIONS (DCERPC_SEAL|DCERPC_SIGN|DCERPC_SCHANNEL_ANY) +/* use a 128 bit session key */ +#define DCERPC_SCHANNEL_128 (1<<12) + /* check incoming pad bytes */ #define DCERPC_DEBUG_PAD_CHECK (1<<13) /* set LIBNDR_FLAG_REF_ALLOC flag when decoding NDR */ #define DCERPC_NDR_REF_ALLOC (1<<14) +/* enable spnego auth */ +#define DCERPC_AUTH_SPNEGO (1<<15) + /* this is used to find pointers to calls */ |