From ff21cceecc66c0aa86557e99fbcbd825e3d9454c Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 28 Aug 2008 00:23:51 +0200 Subject: netapi: better point out what levels are unknown in NetUserEnum. Guenther (This used to be commit d85182aa54b936f8c85c6dcd10d5df613de4bb21) --- source3/lib/netapi/user.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/lib') diff --git a/source3/lib/netapi/user.c b/source3/lib/netapi/user.c index 47053f29af..593434f999 100644 --- a/source3/lib/netapi/user.c +++ b/source3/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, -- cgit