From: Douglas Bagnall Date: Tue, 22 Dec 2015 03:34:53 +0000 (+1300) Subject: ldb controls: better error string for VLV control X-Git-Tag: tdb-1.3.9~483 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78f8a89bddada072fd6fcb6aa3ec304f4a0cf27f;p=thirdparty%2Fsamba.git ldb controls: better error string for VLV control Pair-programmed-with: Garming Sam Signed-off-by: Douglas Bagnall Reviewed-by: Andrew Bartlett Reviewed-by: Garming Sam --- diff --git a/lib/ldb/common/ldb_controls.c b/lib/ldb/common/ldb_controls.c index 500805c5459..8d7b430d4a8 100644 --- a/lib/ldb/common/ldb_controls.c +++ b/lib/ldb/common/ldb_controls.c @@ -468,7 +468,7 @@ struct ldb_control *ldb_parse_control_from_string(struct ldb_context *ldb, TALLO } if ((ret < 4) || (crit < 0) || (crit > 1)) { - error_string = talloc_asprintf(mem_ctx, "invalid server_sort control syntax\n"); + error_string = talloc_asprintf(mem_ctx, "invalid VLV control syntax\n"); error_string = talloc_asprintf_append(error_string, " syntax: crit(b):bc(n):ac(n):[:ctxid(o)]\n"); error_string = talloc_asprintf_append(error_string, " note: b = boolean, n = number, s = string, o = b64 binary blob"); ldb_set_errstring(ldb, error_string);