From 4e65f39ca95ee63cd07801578c49af9cb813e316 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 31 Oct 2005 03:06:13 +0000 Subject: 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) --- source4/libnet/libnet_vampire.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/libnet/libnet_vampire.c') 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"); -- cgit