From e633122fae47867f803422e75265864181839a96 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 20 Sep 2002 19:09:28 +0000 Subject: "@" is valid in NetBIOS domain names. Jeremy. (This used to be commit 5c4857d8e00162fc43a0f2e3a335b441bad743bd) --- source3/smbd/sesssetup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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); } -- cgit