mirror of
https://github.com/samba-team/samba.git
synced 2025-10-25 19:33:18 +03:00
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 commit is contained in:
committed by
Gerald (Jerry) Carter
parent
e02d7753f7
commit
e03e00fe60
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user