I ran into a problem earlier with authenticating a user in Samba.
The problem turns out to be the user's name - she's told her Windows
machine her full name, and it's using that to authenticate against the
samba server (even though I told it not to). smbpasswd doesn't seem to
want to accept spaces within the Windows part of the username pair
(however I quote it), so that authentication is guaranteed to fail :-(