[SCM] Samba Shared Repository - branch master updated
Andreas Schneider
asn at samba.org
Tue Jan 9 14:18:01 UTC 2024
The branch, master has been updated
via e9c9615a2f6 s3:rpc_server: Mark _lsa_CreateTrustedDomainEx as NOT_IMPLMENTED
via 179641bfbe1 s3:rpc_server: Mark _lsa_CreateTrustedDomain as NOT_IMPLMENTED
from 1b6ef968d83 dcesrv_reply: just drop responses if the connection is already terminating
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit e9c9615a2f657b77890e5489e2d8f0f1c3116a16
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jan 8 16:15:03 2024 +0100
s3:rpc_server: Mark _lsa_CreateTrustedDomainEx as NOT_IMPLMENTED
There is no PDB backend supporting this.
Signed-off-by: Andreas Schneider <asn at samba.org>
Reviewed-by: Stefan Metzmacher <metze at samba.org>
Autobuild-User(master): Andreas Schneider <asn at cryptomilk.org>
Autobuild-Date(master): Tue Jan 9 14:17:40 UTC 2024 on atb-devel-224
commit 179641bfbe184ef18896ec9d5dddf8e5c7770e2c
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jan 8 16:13:52 2024 +0100
s3:rpc_server: Mark _lsa_CreateTrustedDomain as NOT_IMPLMENTED
There is no PDB backend which is supporting this.
Signed-off-by: Andreas Schneider <asn at samba.org>
Reviewed-by: Stefan Metzmacher <metze at samba.org>
-----------------------------------------------------------------------
Summary of changes:
source3/rpc_server/lsa/srv_lsa_nt.c | 36 ++++--------------------------------
1 file changed, 4 insertions(+), 32 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/rpc_server/lsa/srv_lsa_nt.c b/source3/rpc_server/lsa/srv_lsa_nt.c
index f125c65069d..e2078c63952 100644
--- a/source3/rpc_server/lsa/srv_lsa_nt.c
+++ b/source3/rpc_server/lsa/srv_lsa_nt.c
@@ -1981,18 +1981,8 @@ NTSTATUS _lsa_CreateTrustedDomainEx2(struct pipes_struct *p,
NTSTATUS _lsa_CreateTrustedDomainEx(struct pipes_struct *p,
struct lsa_CreateTrustedDomainEx *r)
{
- struct lsa_CreateTrustedDomainEx2 q;
- struct lsa_TrustDomainInfoAuthInfoInternal auth_info;
-
- ZERO_STRUCT(auth_info);
-
- q.in.policy_handle = r->in.policy_handle;
- q.in.info = r->in.info;
- q.in.auth_info_internal = &auth_info;
- q.in.access_mask = r->in.access_mask;
- q.out.trustdom_handle = r->out.trustdom_handle;
-
- return _lsa_CreateTrustedDomainEx2(p, &q);
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
+ return NT_STATUS_NOT_IMPLEMENTED;
}
/***************************************************************************
@@ -2002,26 +1992,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;
}
/***************************************************************************
--
Samba Shared Repository
More information about the samba-cvs
mailing list