diff options
Diffstat (limited to 'source4/nbt_server')
-rw-r--r-- | source4/nbt_server/wins/winsdb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/nbt_server/wins/winsdb.c b/source4/nbt_server/wins/winsdb.c index 88433795ea..cd6f262eb6 100644 --- a/source4/nbt_server/wins/winsdb.c +++ b/source4/nbt_server/wins/winsdb.c @@ -41,6 +41,7 @@ static BOOL winsdb_save_version(struct wins_server *winssrv) msg->dn = ldb_dn_explode(msg, "CN=VERSION"); if (msg->dn == NULL) goto failed; + ret |= ldb_msg_add_string(ldb, msg, "objectClass", "winsEntry"); ret |= ldb_msg_add_fmt(ldb, msg, "minVersion", "%llu", winssrv->min_version); ret |= ldb_msg_add_fmt(ldb, msg, "maxVersion", "%llu", winssrv->max_version); if (ret != 0) goto failed; |