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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user