mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
werror: replace WERR_UNKNOWN_LEVEL with WERR_INVALID_LEVEL in source3/lib/netapi/
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
committed by
Jeremy Allison
parent
bf03690ca6
commit
a72a52fca1
@ -82,7 +82,7 @@ WERROR NetServerGetInfo_l(struct libnetapi_ctx *ctx,
|
||||
break;
|
||||
}
|
||||
|
||||
return WERR_UNKNOWN_LEVEL;
|
||||
return WERR_INVALID_LEVEL;
|
||||
}
|
||||
|
||||
/****************************************************************
|
||||
@ -499,7 +499,7 @@ WERROR NetServerGetInfo_r(struct libnetapi_ctx *ctx,
|
||||
case 1005:
|
||||
break;
|
||||
default:
|
||||
return WERR_UNKNOWN_LEVEL;
|
||||
return WERR_INVALID_LEVEL;
|
||||
}
|
||||
|
||||
werr = libnetapi_get_binding_handle(ctx, r->in.server_name,
|
||||
@ -601,7 +601,7 @@ WERROR NetServerSetInfo_l(struct libnetapi_ctx *ctx,
|
||||
break;
|
||||
}
|
||||
|
||||
return WERR_UNKNOWN_LEVEL;
|
||||
return WERR_INVALID_LEVEL;
|
||||
}
|
||||
|
||||
/****************************************************************
|
||||
|
Reference in New Issue
Block a user