diff options
author | Günther Deschner <gd@samba.org> | 2009-07-16 14:32:18 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-07-31 22:37:26 +0200 |
commit | b98145edc92c739c8ad796f63373ec81bab41ca9 (patch) | |
tree | 7dc83576050ec6b6a3d25bca3d5b0125ef53192e /source3 | |
parent | ff1907012a6552eb5f18b40a14465a9cf2ff9f0e (diff) | |
download | samba-b98145edc92c739c8ad796f63373ec81bab41ca9.tar.gz samba-b98145edc92c739c8ad796f63373ec81bab41ca9.tar.bz2 samba-b98145edc92c739c8ad796f63373ec81bab41ca9.zip |
s3-lsa: Fix _lsa_DeleteObject to handle trusted domain objects.
Guenther
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/lsa/srv_lsa_nt.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/rpc_server/lsa/srv_lsa_nt.c b/source3/rpc_server/lsa/srv_lsa_nt.c index 5877c7b295..0f0aaab463 100644 --- a/source3/rpc_server/lsa/srv_lsa_nt.c +++ b/source3/rpc_server/lsa/srv_lsa_nt.c @@ -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; } |