1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

netapi: fix return code in NetShareAdd_r.

Guenther
(This used to be commit 69e6532e9d)
This commit is contained in:
Günther Deschner
2008-09-04 20:23:39 +02:00
parent 60255c3b2e
commit 7850c90d2d

View File

@ -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;
}