From 9c9b42a5499dc381f43684ebd46b3bc1272d743c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 23 Jan 2006 05:03:20 +0000 Subject: r13078: fixed the ldb comparison function for objectSids (This used to be commit 3f0600e223c079f82190f7e2a709447d679163e9) --- source4/lib/ldb/samba/ldif_handlers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib/ldb') diff --git a/source4/lib/ldb/samba/ldif_handlers.c b/source4/lib/ldb/samba/ldif_handlers.c index 85f6b22756..df4b5e9c3b 100644 --- a/source4/lib/ldb/samba/ldif_handlers.c +++ b/source4/lib/ldb/samba/ldif_handlers.c @@ -93,7 +93,7 @@ static int ldb_comparison_objectSid(struct ldb_context *ldb, void *mem_ctx, const struct ldb_val *v1, const struct ldb_val *v2) { if (ldb_comparision_objectSid_isString(v1)) { - if (ldb_comparision_objectSid_isString(v1)) { + if (ldb_comparision_objectSid_isString(v2)) { return strcmp((const char *)v1->data, (const char *)v2->data); } else { struct ldb_val v; -- cgit