mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
s3-lsa: support secret objects in _lsa_DeleteObject().
Guenther
This commit is contained in:
parent
caa0cc76b0
commit
1387095990
@ -2477,6 +2477,12 @@ NTSTATUS _lsa_DeleteObject(struct pipes_struct *p,
|
||||
}
|
||||
status = NT_STATUS_OK;
|
||||
break;
|
||||
case LSA_HANDLE_SECRET_TYPE:
|
||||
status = pdb_delete_secret(info->name);
|
||||
if (NT_STATUS_EQUAL(status, NT_STATUS_OBJECT_NAME_NOT_FOUND)) {
|
||||
return NT_STATUS_INVALID_HANDLE;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
return NT_STATUS_INVALID_HANDLE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user