Name field for countries should be limited to two characters
The name field for countries, stored in "c", only accepts 2-letter long values, but FD accepts any value, leading to LDAP errors. (invalid dn)
Steps to Reproduce
- Create a country
- Give it a name longer than 2 characters
- Try to save it
The country is saved or we get a clear error.
LDAP error about invalid dn syntax.
Reproduces how often:
Found in #5861 (comment 50686)