summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-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");