]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:rpc_server/lsa: PIM trusts are not supported yet
authorStefan Metzmacher <metze@samba.org>
Thu, 19 Dec 2024 19:43:43 +0000 (20:43 +0100)
committerRalph Boehme <slow@samba.org>
Sat, 8 Feb 2025 15:26:38 +0000 (15:26 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source4/rpc_server/lsa/dcesrv_lsa.c

index 207e0a62ca8eda606b8b89b724c75b16fc20f122..9b6cb14bb8d6b56700ae9db1dd7f4c0f7ec6be9d 100644 (file)
@@ -1203,6 +1203,13 @@ static NTSTATUS dcesrv_lsa_CreateTrustedDomain_precheck(
                return NT_STATUS_NOT_SUPPORTED;
        }
 
+       if (info->trust_attributes & LSA_TRUST_ATTRIBUTE_PIM_TRUST) {
+               /*
+                * We don't support LSA_TRUST_ATTRIBUTE_PIM_TRUST yet.
+                */
+               return NT_STATUS_NOT_SUPPORTED;
+       }
+
        /*
         * We expect S-1-5-21-A-B-C, but we don't
         * allow S-1-5-21-0-0-0 as this is used