From e03e00fe606db443783f1dea03411025c01c7de5 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 21 Jul 2005 07:57:20 +0000 Subject: [PATCH] r8666: The same fix as the last commit, I was caught out on a move from a BOOL to int function return. Andrew Bartlett --- source/dsdb/samdb/ldb_modules/samldb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/dsdb/samdb/ldb_modules/samldb.c b/source/dsdb/samdb/ldb_modules/samldb.c index d2a1cec5724..e8403a09b52 100644 --- a/source/dsdb/samdb/ldb_modules/samldb.c +++ b/source/dsdb/samdb/ldb_modules/samldb.c @@ -416,7 +416,7 @@ static struct ldb_message *samldb_fill_group_object(struct ldb_module *module, c return NULL; } } else { /* FIXME: remove this if ldb supports natively aliasing between the rdn and the "cn" attribute */ - if ( ! ldb_msg_add_value(module->ldb, msg2, "cn", &rdn->value)) { + if ( ldb_msg_add_value(module->ldb, msg2, "cn", &rdn->value)) { return NULL; } } @@ -427,7 +427,7 @@ static struct ldb_message *samldb_fill_group_object(struct ldb_module *module, c return NULL; } } else { /* FIXME: remove this if ldb supports natively aliasing between the rdn and the "name" attribute */ - if ( !ldb_msg_add_value(module->ldb, msg2, "name", &rdn->value)) { + if ( ldb_msg_add_value(module->ldb, msg2, "name", &rdn->value)) { return NULL; } }