This fixes issue #9791, where the MMC shows random data
listing the zone contents.
Signed-off-by: Samuel Cabrero <samuelcabrero@kernevil.me>
Reviewed-by: Kamen Mazdrashki <kamenim@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
recs->rec[i].wLength = 0;
recs->rec[i].wRecordCount = 0;
recs->rec[i].dwChildCount = num_children;
recs->rec[i].wLength = 0;
recs->rec[i].wRecordCount = 0;
recs->rec[i].dwChildCount = num_children;
+ recs->rec[i].dwFlags = 0;
/* The base records returned with empty name */
/* Children records returned with names */
/* The base records returned with empty name */
/* Children records returned with names */