mirror of
https://github.com/samba-team/samba.git
synced 2025-01-24 02:04:21 +03:00
s3:winbindd: don't unclude two '\0' at the end of the domain list
This avoids a scary "trustdom_list_done: Got invalid trustdom response" message. BUG: https://bugzilla.samba.org/show_bug.cgi?id=11782 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Günther Deschner <gd@samba.org> (cherry picked from commit bb387c5b90e19b5a2f7d65fb8db816e9da51d090)
This commit is contained in:
parent
a83a26f878
commit
a44025b9a4
@ -214,7 +214,7 @@ enum winbindd_result winbindd_dual_list_trusted_domains(struct winbindd_domain *
|
||||
extra_data[extra_data_len-1] = '\0';
|
||||
|
||||
state->response->extra_data.data = extra_data;
|
||||
state->response->length += extra_data_len+1;
|
||||
state->response->length += extra_data_len;
|
||||
}
|
||||
|
||||
return WINBINDD_OK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user