[DF-1652][DF-1654] Use MAX_COMPUTERNAME_LENGTH for buffer length