The problemSince version 4.0, if I remember well, SME Server, former E-Smith, do not allow usernames containing dots and underscores.
I do not agree with this policy: it is too restrictive compared with other operating systems ones, and is really annoying if you want to migrate user account from other systems, or integrate SME Server into an existing network.
As an example, think about usernames formed as "user_nn" or "account_yy", or about one Mr. Mario De Rossi that has always logged on every corporate system as "de_rossi_m".
The workaroundOr, better:
my workaround.

Caution: hard core hands down here! 
Thanks to SME Server designers, the user account manipulation functions all belong to one PERL module, the file
AccountsDB.pm in the directory
/usr/lib/perl5/site_perl/esmith/.
In this file there is only one check on the username syntax, performed by the following line, near the bottom of the file, in the
validate_account_name function:
return ($name =~ /[^0-9a-z\-]/ or $name !~ /^[a-z]/) ? undef : 'OK';
So, if you want to enable usernames with underscores and dots, all you have to do is modify the search string in the previous code as follows:
return ($name =~ /[^0-9a-z\-_]/ or $name !~ /^[a-z]/) ? undef : 'OK';
for underscores only,
return ($name =~ /[^0-9a-z\-_\.]/ or $name !~ /^[a-z]/) ? undef : 'OK';
for both underscores and dots.
The collision checks between usernames and pseudonyms seem to be performed correctly.
The solutionOf course, implementing my workaround in the distribution, and modifying all the involved panels accordingly.
