1
0
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:
Günther Deschner 2009-07-16 14:32:18 +02:00
parent ff1907012a
commit b98145edc9

View File

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