summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-07-02 14:47:06 +1000
committerAndrew Tridgell <tridge@samba.org>2009-07-02 14:55:38 +1000
commit865ca9be64acc3bfd8bfaabb0621592234e07be7 (patch)
treec4d66d8e03090bdf451d867583b0ec3d197c027c
parent0bdaa8b4aca56989acf087b609926ed22b6a77cb (diff)
downloadsamba-865ca9be64acc3bfd8bfaabb0621592234e07be7.tar.gz
samba-865ca9be64acc3bfd8bfaabb0621592234e07be7.tar.bz2
samba-865ca9be64acc3bfd8bfaabb0621592234e07be7.zip
the settings structure needs to be initialised
-rw-r--r--source4/libnet/libnet_vampire.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libnet/libnet_vampire.c b/source4/libnet/libnet_vampire.c
index bd88b8ec81..3265a04c77 100644
--- a/source4/libnet/libnet_vampire.c
+++ b/source4/libnet/libnet_vampire.c
@@ -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;