summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-06-10 09:10:09 +1000
committerAndrew Tridgell <tridge@samba.org>2011-06-10 10:14:56 +1000
commit3e4c08096d913834143b23f4fbc662d92659a83f (patch)
tree9c1c8716bbd104b042600bc5642f08bdf29058c0 /source4/dsdb
parentfe02f47de04e5e83273ad012effbe15794cd99c1 (diff)
downloadsamba-3e4c08096d913834143b23f4fbc662d92659a83f.tar.gz
samba-3e4c08096d913834143b23f4fbc662d92659a83f.tar.bz2
samba-3e4c08096d913834143b23f4fbc662d92659a83f.zip
s4-drs: cope with missing RMD_ADDTIME in linked attributes
upgraded links can be missing the RMD_ADDTIME field
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/common/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/common/util.c b/source4/dsdb/common/util.c
index 0cba20b465..3fa8f67447 100644
--- a/source4/dsdb/common/util.c
+++ b/source4/dsdb/common/util.c
@@ -3192,7 +3192,7 @@ bool dsdb_dn_is_deleted_val(const struct ldb_val *val)
*/
bool dsdb_dn_is_upgraded_link_val(struct ldb_val *val)
{
- return memmem(val->data, val->length, "<RMD_ADDTIME=", 13) != NULL;
+ return memmem(val->data, val->length, "<RMD_VERSION=", 13) != NULL;
}
/*