1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-29 04:23:51 +03:00

s3:rpc_server: Mark _lsa_CreateTrustedDomain as NOT_IMPLMENTED

There is no PDB backend which is supporting this.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Andreas Schneider
2024-01-08 16:13:52 +01:00
committed by Andreas Schneider
parent 1b6ef968d8
commit 179641bfbe

View File

@@ -2002,26 +2002,8 @@ NTSTATUS _lsa_CreateTrustedDomainEx(struct pipes_struct *p,
NTSTATUS _lsa_CreateTrustedDomain(struct pipes_struct *p,
struct lsa_CreateTrustedDomain *r)
{
struct lsa_CreateTrustedDomainEx2 c;
struct lsa_TrustDomainInfoInfoEx info;
struct lsa_TrustDomainInfoAuthInfoInternal auth_info;
ZERO_STRUCT(auth_info);
info.domain_name = r->in.info->name;
info.netbios_name = r->in.info->name;
info.sid = r->in.info->sid;
info.trust_direction = LSA_TRUST_DIRECTION_OUTBOUND;
info.trust_type = LSA_TRUST_TYPE_DOWNLEVEL;
info.trust_attributes = 0;
c.in.policy_handle = r->in.policy_handle;
c.in.info = &info;
c.in.auth_info_internal = &auth_info;
c.in.access_mask = r->in.access_mask;
c.out.trustdom_handle = r->out.trustdom_handle;
return _lsa_CreateTrustedDomainEx2(p, &c);
p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return NT_STATUS_NOT_IMPLEMENTED;
}
/***************************************************************************