summaryrefslogtreecommitdiff
path: root/source4/wrepl_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-10-19 17:48:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:44:58 -0500
commitbc43d1b6f02937a694bfd4c75cee61e3da08fc45 (patch)
tree869bff7bc7e21f1182ce36b978f6d62d0d6971b2 /source4/wrepl_server
parent47c0c176e95998db7303950fb6bf46a0e65e40d3 (diff)
downloadsamba-bc43d1b6f02937a694bfd4c75cee61e3da08fc45.tar.gz
samba-bc43d1b6f02937a694bfd4c75cee61e3da08fc45.tar.bz2
samba-bc43d1b6f02937a694bfd4c75cee61e3da08fc45.zip
r11189: add some more special group vs. special group tests,
to make sure that replicas from the same owner are blinding overwritten in all cases metze (This used to be commit 466baf737aedf240ff372ab8e8c708299102d1fa)
Diffstat (limited to 'source4/wrepl_server')
-rw-r--r--source4/wrepl_server/wrepl_apply_records.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/wrepl_server/wrepl_apply_records.c b/source4/wrepl_server/wrepl_apply_records.c
index 55b8a6e387..e86750b3fa 100644
--- a/source4/wrepl_server/wrepl_apply_records.c
+++ b/source4/wrepl_server/wrepl_apply_records.c
@@ -63,10 +63,9 @@ static const char *_R_ACTION_enum_string(enum _R_ACTION action)
#define R_IS_SGROUP(r) ((r)->type == WREPL_TYPE_SGROUP)
#define R_IS_MHOMED(r) ((r)->type == WREPL_TYPE_MHOMED)
+/* blindly overwrite records from the same owner in all cases */
static enum _R_ACTION replace_same_owner(struct winsdb_record *r1, struct wrepl_name *r2)
{
- /* TODO: we need to look closer at how special groups are handled */
-
/* REPLACE */
return R_DO_REPLACE;
}