1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s3-lsa: make _lsa_DeleteTrustedDomain() use pdb_del_trusted_domain().

Signed-off-by: Günther Deschner <gd@samba.org>
This commit is contained in:
Sumit Bose 2010-08-20 09:28:29 +02:00 committed by Günther Deschner
parent 12d16af9d6
commit bb947089af

View File

@ -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;