git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
484c844
)
s4-drsuapi: we store boolean in upppercase so we need to test them in uppercase
author
Matthieu Patou
<mat@matws.net>
Mon, 14 Nov 2011 17:32:41 +0000
(18:32 +0100)
committer
Matthieu Patou
<mat@matws.net>
Mon, 14 Nov 2011 17:32:41 +0000
(18:32 +0100)
source4/rpc_server/drsuapi/getncchanges.c
patch
|
blob
|
history
diff --git
a/source4/rpc_server/drsuapi/getncchanges.c
b/source4/rpc_server/drsuapi/getncchanges.c
index 4217e223f9c0593c5891b00d1486e500d4552e4d..5faea27967663265c16a72da261758460b17afe2 100644
(file)
--- a/
source4/rpc_server/drsuapi/getncchanges.c
+++ b/
source4/rpc_server/drsuapi/getncchanges.c
@@
-365,7
+365,7
@@
static WERROR get_nc_changes_add_la(TALLOC_CTX *mem_ctx,
const char *v;
v = ldb_msg_find_attr_as_string(msg, "isDeleted", "false");
const char *v;
v = ldb_msg_find_attr_as_string(msg, "isDeleted", "false");
- if (strnc
asecmp(v, "true
", 4) == 0) {
+ if (strnc
mp(v, "TRUE
", 4) == 0) {
/*
* Note: we skip the transmition of the deleted link even if the other part used to
* know about it because when we transmit the deletion of the object, the link will
/*
* Note: we skip the transmition of the deleted link even if the other part used to
* know about it because when we transmit the deletion of the object, the link will
@@
-385,7
+385,7
@@
static WERROR get_nc_changes_add_la(TALLOC_CTX *mem_ctx,
* For this kind of forest level we do not return the link if the object is recycled
* (isRecycled = true).
*/
* For this kind of forest level we do not return the link if the object is recycled
* (isRecycled = true).
*/
- if (strnc
asecmp(v, "true
", 4) == 0) {
+ if (strnc
mp(v, "TRUE
", 4) == 0) {
DEBUG(2, (" object %s is recycled, not returning linked attribute !\n",
ldb_dn_get_linearized(msg->dn)));
return WERR_OK;
DEBUG(2, (" object %s is recycled, not returning linked attribute !\n",
ldb_dn_get_linearized(msg->dn)));
return WERR_OK;