diff options
author | Sumit Bose <sbose@redhat.com> | 2010-08-20 09:28:29 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-02-16 11:43:45 +0100 |
commit | bb947089af3f9de7451b765542526924e6e97308 (patch) | |
tree | 897f4d051697ca5624fd2d608866c4ee0daed359 /source3 | |
parent | 12d16af9d6a5a790f8d0849c9a3e1d01cbb2266d (diff) | |
download | samba-bb947089af3f9de7451b765542526924e6e97308.tar.gz samba-bb947089af3f9de7451b765542526924e6e97308.tar.bz2 samba-bb947089af3f9de7451b765542526924e6e97308.zip |
s3-lsa: make _lsa_DeleteTrustedDomain() use pdb_del_trusted_domain().
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/lsa/srv_lsa_nt.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/rpc_server/lsa/srv_lsa_nt.c b/source3/rpc_server/lsa/srv_lsa_nt.c index 4a8da2f092..23b5869d2e 100644 --- a/source3/rpc_server/lsa/srv_lsa_nt.c +++ b/source3/rpc_server/lsa/srv_lsa_nt.c @@ -1653,8 +1653,9 @@ NTSTATUS _lsa_DeleteTrustedDomain(struct pipes_struct *p, return status; } - if (!pdb_del_trusteddom_pw(info->name)) { - return NT_STATUS_NO_TRUST_LSA_SECRET; + status = pdb_del_trusted_domain(info->name); + if (!NT_STATUS_IS_OK(status)) { + return status; } return NT_STATUS_OK; |