1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

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 commit is contained in:
Andrew Bartlett 2005-07-21 07:15:55 +00:00 committed by Gerald (Jerry) Carter
parent 2408f32276
commit 1982fdb6f3

View File

@ -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;
}
}