summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2005-06-15 12:43:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:57:15 -0500
commit3f657f41cc7a71b3d5b769b31be030ebf543a645 (patch)
treeeba3af6961410fa2806146687f1675c740aaca17 /source3/rpc_server
parent899bc3a07df4ce1f77efc1abce7c3a2e855069e5 (diff)
downloadsamba-3f657f41cc7a71b3d5b769b31be030ebf543a645.tar.gz
samba-3f657f41cc7a71b3d5b769b31be030ebf543a645.tar.bz2
samba-3f657f41cc7a71b3d5b769b31be030ebf543a645.zip
r7606: add WERR_NET_NAME_NOT_FOUND. This is what windows returns when
trying to manipulate non-existing shares. Guenther (This used to be commit 2e5cb531ab8a8babbc425b22d17a39c18f602d4f)
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 0e699d922b..91f0cefa98 100644
--- a/source3/rpc_server/srv_srvsvc_nt.c
+++ b/source3/rpc_server/srv_srvsvc_nt.c
@@ -1536,7 +1536,7 @@ WERROR _srv_net_share_set_info(pipes_struct *p, SRV_Q_NET_SHARE_SET_INFO *q_u, S
/* Does this share exist ? */
if (snum < 0)
- return WERR_INVALID_NAME;
+ return WERR_NET_NAME_NOT_FOUND;
/* No change to printer shares. */
if (lp_print_ok(snum))