Multilocus-sequence typing analysis reveals similar populations of Streptococcus uberis are responsible for bovine intramammary infections of short and long duration.