diff options
author | Jeremy Allison <jra@samba.org> | 2002-09-20 19:09:28 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-09-20 19:09:28 +0000 |
commit | e633122fae47867f803422e75265864181839a96 (patch) | |
tree | eb96fe46cedfb6056c4c04af74a880cd86e3675d /source3/smbd | |
parent | 696fedc7ad26222c94d0ecfda4aa3fa5be2377ca (diff) | |
download | samba-e633122fae47867f803422e75265864181839a96.tar.gz samba-e633122fae47867f803422e75265864181839a96.tar.bz2 samba-e633122fae47867f803422e75265864181839a96.zip |
"@" is valid in NetBIOS domain names.
Jeremy.
(This used to be commit 5c4857d8e00162fc43a0f2e3a335b441bad743bd)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/sesssetup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c index 3dc9fe9208..09288ad44d 100644 --- a/source3/smbd/sesssetup.c +++ b/source3/smbd/sesssetup.c @@ -734,7 +734,7 @@ int reply_sesssetup_and_X(connection_struct *conn, char *inbuf,char *outbuf, /* don't allow for weird usernames or domains */ alpha_strcpy(user, user, ". _-$", sizeof(user)); - alpha_strcpy(domain, domain, ". _-", sizeof(domain)); + alpha_strcpy(domain, domain, ". _-@", sizeof(domain)); if (strstr(user, "..") || strstr(domain,"..")) { return ERROR_NT(NT_STATUS_LOGON_FAILURE); } |