diff options
-rw-r--r-- | source3/smbd/reply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 5abd737c37..20f5e0fbe2 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -837,7 +837,7 @@ int reply_sesssetup_and_X(connection_struct *conn, char *inbuf,char *outbuf,int } /* don't allow for weird usernames or domains */ - alpha_strcpy(user, user, ". _-", sizeof(user)); + alpha_strcpy(user, user, ". _-$", sizeof(user)); alpha_strcpy(domain, domain, ". _-", sizeof(domain)); if (strstr(user, "..") || strstr(domain,"..")) { return bad_password_error(inbuf, outbuf); |