summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/providers/ldap/sdap_async_groups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_groups.c b/src/providers/ldap/sdap_async_groups.c
index 858c8c90..1c651c1a 100644
--- a/src/providers/ldap/sdap_async_groups.c
+++ b/src/providers/ldap/sdap_async_groups.c
@@ -1007,7 +1007,7 @@ sdap_process_missing_member_2307(struct sdap_process_group_state *state,
goto done;
}
user_dn = sysdb_user_strdn(tmp_ctx, state->dom->name, username);
- if (username == NULL) {
+ if (user_dn == NULL) {
return ENOMEM;
}