[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Wed May 17 07:35:01 UTC 2023


The branch, master has been updated
       via  e03e738dfc9 librpc/rpc: allow smb3_sid_parse() to accept modern encryption algorithms
      from  8296b6884df s4:torture: Replace calls to deprecated function

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit e03e738dfc96b3c8ce54e2d280143965713f4778
Author: Stefan Metzmacher <metze at samba.org>
Date:   Tue May 16 13:09:23 2023 +0200

    librpc/rpc: allow smb3_sid_parse() to accept modern encryption algorithms
    
    We should not limit the possible encryption algorithms to the currently
    known ones.
    
    BUG: https://bugzilla.samba.org/show_bug.cgi?id=15374
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Volker Lendecke <vl at samba.org>
    
    Autobuild-User(master): Volker Lendecke <vl at samba.org>
    Autobuild-Date(master): Wed May 17 07:34:28 UTC 2023 on atb-devel-224

-----------------------------------------------------------------------

Summary of changes:
 librpc/rpc/dcerpc_helper.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/librpc/rpc/dcerpc_helper.c b/librpc/rpc/dcerpc_helper.c
index eec78e034ee..e1589f90794 100644
--- a/librpc/rpc/dcerpc_helper.c
+++ b/librpc/rpc/dcerpc_helper.c
@@ -49,7 +49,12 @@ static bool smb3_sid_parse(const struct dom_sid *sid,
 	}
 
 	cipher = sid->sub_auths[3];
-	if (cipher > SMB2_ENCRYPTION_AES128_GCM) {
+	if (cipher > 256) {
+		/*
+		 * It is unlikely that we
+		 * ever have more then 256
+		 * encryption algorithms
+		 */
 		return false;
 	}
 


-- 
Samba Shared Repository



More information about the samba-cvs mailing list