summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-10-31 03:06:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:45:33 -0500
commit4e65f39ca95ee63cd07801578c49af9cb813e316 (patch)
treee5455200550f9e726da0b706da7848a712ef7a74
parentda048ad7cac35f9f1515c5f3e3551b7326b7ef34 (diff)
downloadsamba-4e65f39ca95ee63cd07801578c49af9cb813e316.tar.gz
samba-4e65f39ca95ee63cd07801578c49af9cb813e316.tar.bz2
samba-4e65f39ca95ee63cd07801578c49af9cb813e316.zip
r11409: The use of 'password server = ' here is still bogus, but for now at
least don't allow binding to become uninitialised. Andrew Bartlett (This used to be commit e754234a17ebc601720caa66a229d9a842dfebda)
-rw-r--r--source4/libnet/libnet_vampire.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/libnet/libnet_vampire.c b/source4/libnet/libnet_vampire.c
index f4be5013f1..80da646200 100644
--- a/source4/libnet/libnet_vampire.c
+++ b/source4/libnet/libnet_vampire.c
@@ -163,6 +163,8 @@ NTSTATUS libnet_SamSync_netlogon(struct libnet_context *ctx, TALLOC_CTX *mem_ctx
if (bindings && bindings[0]) {
binding = bindings[0];
+ } else {
+ return NT_STATUS_INVALID_PARAMETER;
}
samsync_ctx = talloc_named(mem_ctx, 0, "SamSync top context");