The Samba-Bugzilla – Attachment 183 Details for
Bug 575
Workgroups with @ in the name
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for characters in username/domain
username.patch (text/plain), 751 bytes, created by
Gerald (Jerry) Carter (dead mail address)
on 2003-10-06 12:11:35 UTC
(
hide
)
Description:
patch for characters in username/domain
Filename:
MIME Type:
Creator:
Gerald (Jerry) Carter (dead mail address)
Created:
2003-10-06 12:11:35 UTC
Size:
751 bytes
patch
obsolete
>Index: smbd/reply.c >=================================================================== >RCS file: /data/cvs/samba/source/smbd/reply.c,v >retrieving revision 1.240.2.133 >diff -u -r1.240.2.133 reply.c >--- smbd/reply.c 9 May 2003 21:31:23 -0000 1.240.2.133 >+++ smbd/reply.c 1 Oct 2003 14:17:37 -0000 >@@ -881,8 +881,8 @@ > } > > /* don't allow strange characters in usernames or domains */ >- alpha_strcpy(user, user, ". _-$", sizeof(user)); >- alpha_strcpy(domain, domain, ". _-@", sizeof(domain)); >+ alpha_strcpy(user, user, ". ~`#$%^&{}-_!()'", sizeof(user)); >+ alpha_strcpy(domain, domain, "@. ~`$%^{}-_!()'", sizeof(domain)); > if (strstr(user, "..") || strstr(domain,"..")) { > return ERROR_BOTH(NT_STATUS_LOGON_FAILURE,ERRSRV,ERRbadpw); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 575
: 183