diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-07-21 07:15:55 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:29:51 -0500 |
commit | c2f9eb30cd558d79f9593ed861e9684ade77c38d (patch) | |
tree | c40e5b3f04772b5bda1f275a5c685047d7633ea6 /source4/dsdb/samdb/ldb_modules | |
parent | 8191f2cc800228e1e0d7378370f12bf6d3fca1e9 (diff) | |
download | samba-c2f9eb30cd558d79f9593ed861e9684ade77c38d.tar.gz samba-c2f9eb30cd558d79f9593ed861e9684ade77c38d.tar.bz2 samba-c2f9eb30cd558d79f9593ed861e9684ade77c38d.zip |
r8664: I got caught out not testing...
I replaced these function calls, and they went from BOOL to int return
values, so naturally failed.
Andrew Bartlett
(This used to be commit 1982fdb6f3355494ecaae93280eea4e69c78430f)
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-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 6d6c1eb660..d2a1cec572 100644 --- a/source4/dsdb/samdb/ldb_modules/samldb.c +++ b/source4/dsdb/samdb/ldb_modules/samldb.c @@ -507,7 +507,7 @@ static struct ldb_message *samldb_fill_user_or_computer_object(struct ldb_module 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; } } @@ -518,7 +518,7 @@ static struct ldb_message *samldb_fill_user_or_computer_object(struct ldb_module 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; } } |