diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/providers/ldap/sdap_async_accounts.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_async_accounts.c b/src/providers/ldap/sdap_async_accounts.c index 8447942c..07bf5153 100644 --- a/src/providers/ldap/sdap_async_accounts.c +++ b/src/providers/ldap/sdap_async_accounts.c @@ -1236,6 +1236,10 @@ sdap_process_group_members_2307(struct sdap_process_group_state *state, for (i=0; i < memberel->num_values; i++) { member_name = (char *)memberel->values[i].data; + + /* We need to skip over zero-length usernames */ + if (member_name[0] == '\0') continue; + ret = sysdb_search_user_by_name(state, state->sysdb, state->dom, member_name, NULL, &msg); |