1. samba-4.7.2/source3/utils/net_idmap.c:420]: (error) Width 128 given in format string (no. 2) is larger than destination buffer 'sid_string[128]', use %127s to prevent overflowing it. Source code is if (sscanf(line, "GID %lu %128s", &idval, sid_string) == 2) Maybe better code: if (sscanf(line, "GID %lu %127s", &idval, sid_string) == 2) 2. [samba-4.7.2/source3/utils/net_idmap.c:427]: (error) Width 128 given in format string (no. 2) is larger than destination buffer 'sid_string[128]', use %127s to prevent overflowing it. Duplicate.
(In reply to David Binderman from comment #0) Its already set to (sscanf(line, "GID %lu %127s", &idval, sid_string) == 2) in samba-4.10.4