summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/nbt_server/wins/winsdb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/nbt_server/wins/winsdb.c b/source4/nbt_server/wins/winsdb.c
index a81c3d55dc..d7df7994b8 100644
--- a/source4/nbt_server/wins/winsdb.c
+++ b/source4/nbt_server/wins/winsdb.c
@@ -521,6 +521,9 @@ struct ldb_message *winsdb_message(struct ldb_context *ldb,
if (rec->state == WREPL_STATE_ACTIVE && addr_count == 0) {
rec->state = WREPL_STATE_RELEASED;
}
+ if (rec->type == WREPL_TYPE_UNIQUE && addr_count > 1) {
+ rec->type = WREPL_TYPE_MHOMED;
+ }
msg->dn = winsdb_dn(msg, rec->name);
if (msg->dn == NULL) goto failed;