summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/netapi/share.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/netapi/share.c b/source3/lib/netapi/share.c
index 3b99a8d291..9983471328 100644
--- a/source3/lib/netapi/share.c
+++ b/source3/lib/netapi/share.c
@@ -84,6 +84,9 @@ WERROR NetShareAdd_r(struct libnetapi_ctx *ctx,
switch (r->in.level) {
case 2:
break;
+ case 502:
+ case 503:
+ return WERR_NOT_SUPPORTED;
default:
return WERR_UNKNOWN_LEVEL;
}