s4-winsrepl: don't put in attributes with no elements
authorAndrew Tridgell <tridge@samba.org>
Fri, 16 Oct 2009 00:41:52 +0000 (11:41 +1100)
committerAndrew Tridgell <tridge@samba.org>
Fri, 16 Oct 2009 00:56:40 +0000 (11:56 +1100)
commit7bcc0b29662663be75828f2618a5013e7c2c2817
tree973114845a0aecb81d117741dfc3f496ba4c957f
parent3f80b06d9ed9d1aabb56168ccee90d7d945de8ed
s4-winsrepl: don't put in attributes with no elements

Empty attributes are no longer allowed by ldb. This also fixes the
error checking in winsdb_message()

This fixes the samba4.nbt.winsreplication test
source4/nbt_server/wins/winsdb.c