summaryrefslogtreecommitdiffstats
path: root/source3/rpc_server/lsa
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-10-27 00:15:56 +0100
committerGünther Deschner <gd@samba.org>2011-02-16 11:35:20 +0100
commit55bc1cfae38beec6da00c8f6e1d730519e0b7626 (patch)
tree5e613c182cd2d09a66e1b3897ae52e7929a76e93 /source3/rpc_server/lsa
parent162fd0e89104d885ef9269e0aba0db88eb1fb4ad (diff)
downloadsamba-55bc1cfae38beec6da00c8f6e1d730519e0b7626.tar.gz
samba-55bc1cfae38beec6da00c8f6e1d730519e0b7626.tar.xz
samba-55bc1cfae38beec6da00c8f6e1d730519e0b7626.zip
s3-lsa: implement _lsa_CreateTrustedDomainEx().
Guenther Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/rpc_server/lsa')
-rw-r--r--source3/rpc_server/lsa/srv_lsa_nt.c25
1 files changed, 18 insertions, 7 deletions
diff --git a/source3/rpc_server/lsa/srv_lsa_nt.c b/source3/rpc_server/lsa/srv_lsa_nt.c
index 7ce2edaf28c..d235a6542c7 100644
--- a/source3/rpc_server/lsa/srv_lsa_nt.c
+++ b/source3/rpc_server/lsa/srv_lsa_nt.c
@@ -1513,6 +1513,24 @@ NTSTATUS _lsa_CreateTrustedDomainEx2(struct pipes_struct *p,
}
/***************************************************************************
+ _lsa_CreateTrustedDomainEx
+ ***************************************************************************/
+
+NTSTATUS _lsa_CreateTrustedDomainEx(struct pipes_struct *p,
+ struct lsa_CreateTrustedDomainEx *r)
+{
+ struct lsa_CreateTrustedDomainEx2 q;
+
+ q.in.policy_handle = r->in.policy_handle;
+ q.in.info = r->in.info;
+ q.in.auth_info = r->in.auth_info;
+ q.in.access_mask = r->in.access_mask;
+ q.out.trustdom_handle = r->out.trustdom_handle;
+
+ return _lsa_CreateTrustedDomainEx2(p, &q);
+}
+
+/***************************************************************************
***************************************************************************/
NTSTATUS _lsa_CreateTrustedDomain(struct pipes_struct *p,
@@ -2701,13 +2719,6 @@ NTSTATUS _lsa_EnumTrustedDomainsEx(struct pipes_struct *p,
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_CreateTrustedDomainEx(struct pipes_struct *p,
- struct lsa_CreateTrustedDomainEx *r)
-{
- p->rng_fault_state = True;
- return NT_STATUS_NOT_IMPLEMENTED;
-}
-
NTSTATUS _lsa_CloseTrustedDomainEx(struct pipes_struct *p,
struct lsa_CloseTrustedDomainEx *r)
{