mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +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:
parent
12d16af9d6
commit
bb947089af
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user