summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-07-11 18:52:43 +0000
committerJeremy Allison <jra@samba.org>2001-07-11 18:52:43 +0000
commit1f9a689f1fe3adb91970b7b3aa962d96451a4e1e (patch)
tree450763d02e01b81ff34afd4e064a2cfbb5754e69
parent5167978dfbbd23acda7f3f65964c2d145df867b3 (diff)
downloadsamba-1f9a689f1fe3adb91970b7b3aa962d96451a4e1e.tar.gz
samba-1f9a689f1fe3adb91970b7b3aa962d96451a4e1e.tar.bz2
samba-1f9a689f1fe3adb91970b7b3aa962d96451a4e1e.zip
Toomas Soome's fix for joining a domain the old way.
Jeremy. (This used to be commit 8db233c8b5866df2b3f9f4ed64e7de95807cf371)
-rw-r--r--source3/smbd/reply.c2
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);