diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-07-21 07:57:20 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:29:51 -0500 |
commit | c7204bd9856dd4a58c420a590f1b2abab8aaa70e (patch) | |
tree | 1c82de8967fa7f669266f7cbe632117e85b0a060 /source4 | |
parent | c7ca980ca929e4bf31bd00fb1ac16c8e2e29e222 (diff) | |
download | samba-c7204bd9856dd4a58c420a590f1b2abab8aaa70e.tar.gz samba-c7204bd9856dd4a58c420a590f1b2abab8aaa70e.tar.bz2 samba-c7204bd9856dd4a58c420a590f1b2abab8aaa70e.zip |
r8666: The same fix as the last commit, I was caught out on a move from a
BOOL to int function return.
Andrew Bartlett
(This used to be commit e03e00fe606db443783f1dea03411025c01c7de5)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/samldb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/samldb.c b/source4/dsdb/samdb/ldb_modules/samldb.c index d2a1cec572..e8403a09b5 100644 --- a/source4/dsdb/samdb/ldb_modules/samldb.c +++ b/source4/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; } } |