summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-07-16 01:05:25 +0200
committerGünther Deschner <gd@samba.org>2009-07-17 13:55:29 +0200
commit3e661d4c8e1846d8f64fe029981fb7628e6211d8 (patch)
tree4849c8c44bfba51cb105b66577ed8a502ee76c0a /source3/rpc_server
parent2a26b2ac87b3a07a29ec1db128f42059ef2e4998 (diff)
downloadsamba-3e661d4c8e1846d8f64fe029981fb7628e6211d8.tar.gz
samba-3e661d4c8e1846d8f64fe029981fb7628e6211d8.tar.bz2
samba-3e661d4c8e1846d8f64fe029981fb7628e6211d8.zip
s3-lsa: let _lsa_Delete return NT_STATUS_NOT_SUPPORTED as w2k3 does.
Guenther
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_lsa_nt.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c
index 6fb8327576..ace045cfa5 100644
--- a/source3/rpc_server/srv_lsa_nt.c
+++ b/source3/rpc_server/srv_lsa_nt.c
@@ -2431,18 +2431,22 @@ NTSTATUS _lsa_EnumAccountsWithUserRight(pipes_struct *p,
return NT_STATUS_OK;
}
+/***************************************************************************
+ _lsa_Delete
+ ***************************************************************************/
+
+NTSTATUS _lsa_Delete(pipes_struct *p,
+ struct lsa_Delete *r)
+{
+ return NT_STATUS_NOT_SUPPORTED;
+}
+
/*
* From here on the server routines are just dummy ones to make smbd link with
* librpc/gen_ndr/srv_lsa.c. These routines are actually never called, we are
* pulling the server stubs across one by one.
*/
-NTSTATUS _lsa_Delete(pipes_struct *p, struct lsa_Delete *r)
-{
- p->rng_fault_state = True;
- return NT_STATUS_NOT_IMPLEMENTED;
-}
-
NTSTATUS _lsa_SetSecObj(pipes_struct *p, struct lsa_SetSecObj *r)
{
p->rng_fault_state = True;