summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-01-23 05:03:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:51:23 -0500
commit9c9b42a5499dc381f43684ebd46b3bc1272d743c (patch)
tree3368f774009839a3c4c72c9201d215309021481d /source4/lib
parent541d84f934dfd1a92fcd1551a8b86550e8e4c1c0 (diff)
downloadsamba-9c9b42a5499dc381f43684ebd46b3bc1272d743c.tar.gz
samba-9c9b42a5499dc381f43684ebd46b3bc1272d743c.tar.bz2
samba-9c9b42a5499dc381f43684ebd46b3bc1272d743c.zip
r13078: fixed the ldb comparison function for objectSids
(This used to be commit 3f0600e223c079f82190f7e2a709447d679163e9)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/samba/ldif_handlers.c2
1 files changed, 1 insertions, 1 deletions
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;