summaryrefslogtreecommitdiff
path: root/source4/libnet/libnet_group.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libnet/libnet_group.c')
-rw-r--r--source4/libnet/libnet_group.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libnet/libnet_group.c b/source4/libnet/libnet_group.c
index 5d8f9e200a..b12037e1f3 100644
--- a/source4/libnet/libnet_group.c
+++ b/source4/libnet/libnet_group.c
@@ -337,6 +337,7 @@ static void continue_name_found(struct composite_context *ctx)
if (s->lookup.out.sid_type != SID_NAME_DOM_GRP &&
s->lookup.out.sid_type != SID_NAME_ALIAS) {
composite_error(c, NT_STATUS_NO_SUCH_GROUP);
+ return;
}
/* prepare arguments for groupinfo call */