From: Günther Deschner Date: Wed, 27 Aug 2008 22:23:51 +0000 (+0200) Subject: netapi: better point out what levels are unknown in NetUserEnum. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d85182aa54b936f8c85c6dcd10d5df613de4bb21;p=thirdparty%2Fsamba.git netapi: better point out what levels are unknown in NetUserEnum. Guenther --- diff --git a/source/lib/netapi/user.c b/source/lib/netapi/user.c index 47053f29af1..593434f999f 100644 --- a/source/lib/netapi/user.c +++ b/source/lib/netapi/user.c @@ -854,8 +854,9 @@ WERROR NetUserEnum_r(struct libnetapi_ctx *ctx, case 2: case 3: case 11: - default: return WERR_NOT_SUPPORTED; + default: + return WERR_UNKNOWN_LEVEL; } werr = libnetapi_open_pipe(ctx, r->in.server_name,