summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2021-10-08 11:38:30 +0200
committerJeremy Allison <jra@samba.org>2021-10-08 19:28:31 +0000
commita767eb55d8bd3109907baff311e221dc340ca6ba (patch)
tree2b803e74d0f5d1a0a97a5d8e7ee516ec9fbdf7c7 /librpc
parente2256c99a6591092937b9395e39c2a7f461db42e (diff)
downloadsamba-a767eb55d8bd3109907baff311e221dc340ca6ba.tar.gz
rpc_server3: Avoid a literal number available as a constant
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r--librpc/rpc/dcerpc_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/librpc/rpc/dcerpc_helper.c b/librpc/rpc/dcerpc_helper.c
index f53523b23ea..cf0deeb2079 100644
--- 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;
}