summaryrefslogtreecommitdiffstats
path: root/source/smbd/reply.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-07-11 18:53:30 +0000
committerJeremy Allison <jra@samba.org>2001-07-11 18:53:30 +0000
commitd0f68be1c86ba66b7e6f48ce221e41a1c81bcc20 (patch)
tree7afef819f7bf0821ba811e411f5d1e2a6a1b34d7 /source/smbd/reply.c
parentb3846e8a4f6b05345a81a3120b800e9dab041ab8 (diff)
downloadsamba-d0f68be1c86ba66b7e6f48ce221e41a1c81bcc20.tar.gz
samba-d0f68be1c86ba66b7e6f48ce221e41a1c81bcc20.tar.xz
samba-d0f68be1c86ba66b7e6f48ce221e41a1c81bcc20.zip
Toomas Soomes' patch for joining a domain the old way.
Jeremy.
Diffstat (limited to 'source/smbd/reply.c')
-rw-r--r--source/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c
index 8c43aea5fb0..4eaffcede63 100644
--- a/source/smbd/reply.c
+++ b/source/smbd/reply.c
@@ -867,7 +867,7 @@ int reply_sesssetup_and_X(connection_struct *conn, char *inbuf,char *outbuf,int
}
/* don't allow strange characters in 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);