the settings structure needs to be initialised
authorAndrew Tridgell <tridge@samba.org>
Thu, 2 Jul 2009 04:47:06 +0000 (14:47 +1000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 2 Jul 2009 04:55:38 +0000 (14:55 +1000)
source4/libnet/libnet_vampire.c

index bd88b8ec81a313d5bfb280a6198358161b4c6855..3265a04c770434fb0d33c9df2e12c4d7137921ed 100644 (file)
@@ -81,6 +81,7 @@ static NTSTATUS vampire_prepare_db(void *private_data,
        struct provision_result result;
        NTSTATUS status;
 
+       ZERO_STRUCT(settings);
        settings.site_name = p->dest_dsa->site_name;
        settings.root_dn_str = p->forest->root_dn_str;
        settings.domain_dn_str = p->domain->dn_str;