summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-07-26 21:47:23 +0000
committerLuke Leighton <lkcl@samba.org>1999-07-26 21:47:23 +0000
commitf2e0bbffb5e40df4850b6bd0eae73a8fb0edc6d7 (patch)
tree4760d9aaa51e6049d4b037e24b5e9d9508e5aa13 /source3/rpc_parse
parent73a0c9f04673499d7248f1b49d59f859649be11b (diff)
downloadsamba-f2e0bbffb5e40df4850b6bd0eae73a8fb0edc6d7.tar.gz
samba-f2e0bbffb5e40df4850b6bd0eae73a8fb0edc6d7.tar.bz2
samba-f2e0bbffb5e40df4850b6bd0eae73a8fb0edc6d7.zip
renaming AUTH VERIFIER to AUTH NTLMSSP VERIFIER. ready for adding
another RPC authentication system. (This used to be commit 1a211bafebad8c63d98b5ef275a6272013527c65)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_rpc.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/source3/rpc_parse/parse_rpc.c b/source3/rpc_parse/parse_rpc.c
index 3066d94dec..138dbd90b1 100644
--- a/source3/rpc_parse/parse_rpc.c
+++ b/source3/rpc_parse/parse_rpc.c
@@ -505,7 +505,8 @@ checks an RPC_HDR_AUTH structure.
********************************************************************/
BOOL rpc_hdr_auth_chk(RPC_HDR_AUTH *rai)
{
- return (rai->auth_type == 0x0a && rai->auth_level == 0x06);
+ return ((rai->auth_type == 0x0a || rai->auth_type == 0x44) &&
+ rai->auth_level == 0x06);
}
/*******************************************************************
@@ -545,18 +546,18 @@ void smb_io_rpc_hdr_auth(char *desc, RPC_HDR_AUTH *rai, prs_struct *ps, int dept
}
/*******************************************************************
-checks an RPC_AUTH_VERIFIER structure.
+checks an RPC_AUTH_NTLMSSP_VERIFIER structure.
********************************************************************/
-BOOL rpc_auth_verifier_chk(RPC_AUTH_VERIFIER *rav,
+BOOL rpc_auth_ntlmssp_verifier_chk(RPC_AUTH_NTLMSSP_VERIFIER *rav,
char *signature, uint32 msg_type)
{
return (strequal(rav->signature, signature) && rav->msg_type == msg_type);
}
/*******************************************************************
-creates an RPC_AUTH_VERIFIER structure.
+creates an RPC_AUTH_NTLMSSP_VERIFIER structure.
********************************************************************/
-void make_rpc_auth_verifier(RPC_AUTH_VERIFIER *rav,
+void make_rpc_auth_ntlmssp_verifier(RPC_AUTH_NTLMSSP_VERIFIER *rav,
char *signature, uint32 msg_type)
{
if (rav == NULL) return;
@@ -566,9 +567,9 @@ void make_rpc_auth_verifier(RPC_AUTH_VERIFIER *rav,
}
/*******************************************************************
-reads or writes an RPC_AUTH_VERIFIER structure.
+reads or writes an RPC_AUTH_NTLMSSP_VERIFIER structure.
********************************************************************/
-void smb_io_rpc_auth_verifier(char *desc, RPC_AUTH_VERIFIER *rav, prs_struct *ps, int depth)
+void smb_io_rpc_auth_ntlmssp_verifier(char *desc, RPC_AUTH_NTLMSSP_VERIFIER *rav, prs_struct *ps, int depth)
{
if (rav == NULL) return;