summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-10-07 17:58:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:31:13 -0500
commitb5535567c11552ed675ecc489d440558f91f1d1d (patch)
treeff35ae380e846ae1eb7b944b81aa6572c9c636cb /source3/rpc_server
parent3a14416dde836e3f6be57bcdfd63250f9df7f615 (diff)
downloadsamba-b5535567c11552ed675ecc489d440558f91f1d1d.tar.gz
samba-b5535567c11552ed675ecc489d440558f91f1d1d.tar.bz2
samba-b5535567c11552ed675ecc489d440558f91f1d1d.zip
r25564: Pass sharename to delete_share_security()
(This used to be commit d100bfffe2a503b8820889faedc6ed57100ca7af)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_srvsvc_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_srvsvc_nt.c b/source3/rpc_server/srv_srvsvc_nt.c
index 321ff83156..2af4c79002 100644
--- a/source3/rpc_server/srv_srvsvc_nt.c
+++ b/source3/rpc_server/srv_srvsvc_nt.c
@@ -1994,7 +1994,7 @@ WERROR _srvsvc_NetShareDel(pipes_struct *p, struct srvsvc_NetShareDel *r)
}
/* Delete the SD in the database. */
- delete_share_security(params);
+ delete_share_security(lp_servicename(params->service));
lp_killservice(params->service);