mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
netapi: fix return code in NetShareAdd_r.
Guenther
(This used to be commit 69e6532e9d
)
This commit is contained in:
@ -84,6 +84,9 @@ WERROR NetShareAdd_r(struct libnetapi_ctx *ctx,
|
|||||||
switch (r->in.level) {
|
switch (r->in.level) {
|
||||||
case 2:
|
case 2:
|
||||||
break;
|
break;
|
||||||
|
case 502:
|
||||||
|
case 503:
|
||||||
|
return WERR_NOT_SUPPORTED;
|
||||||
default:
|
default:
|
||||||
return WERR_UNKNOWN_LEVEL;
|
return WERR_UNKNOWN_LEVEL;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user