git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2256c9
)
rpc_server3: Avoid a literal number available as a constant
author
Volker Lendecke
<vl@samba.org>
Fri, 8 Oct 2021 09:38:30 +0000
(11:38 +0200)
committer
Jeremy Allison
<jra@samba.org>
Fri, 8 Oct 2021 19:28:31 +0000
(19:28 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
librpc/rpc/dcerpc_helper.c
patch
|
blob
|
history
diff --git
a/librpc/rpc/dcerpc_helper.c
b/librpc/rpc/dcerpc_helper.c
index f53523b23ead198d50122f557ecf6441da087eac..cf0deeb20794ba3a5b1a3118b9470f6225276884 100644
(file)
--- a/
librpc/rpc/dcerpc_helper.c
+++ b/
librpc/rpc/dcerpc_helper.c
@@
-33,7
+33,7
@@
static bool smb3_sid_parse(const struct dom_sid *sid,
uint16_t encrypt;
uint16_t cipher;
- if (sid->sub_auths[0] !=
1397571891
) {
+ if (sid->sub_auths[0] !=
global_sid_Samba_SMB3.sub_auths[0]
) {
return false;
}