mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
s3-lsa: Fix _lsa_DeleteObject to handle trusted domain objects.
Guenther
This commit is contained in:
parent
ff1907012a
commit
b98145edc9
@ -2188,6 +2188,12 @@ NTSTATUS _lsa_DeleteObject(struct pipes_struct *p,
|
||||
return status;
|
||||
}
|
||||
break;
|
||||
case LSA_HANDLE_TRUST_TYPE:
|
||||
if (!pdb_del_trusteddom_pw(info->name)) {
|
||||
return NT_STATUS_OBJECT_NAME_NOT_FOUND;
|
||||
}
|
||||
status = NT_STATUS_OK;
|
||||
break;
|
||||
default:
|
||||
return NT_STATUS_INVALID_HANDLE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user