From: "Donald R. Gray Jr" <donald.r.gray-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: <linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Patch numeric domain names
Date: Thu, 3 Nov 2011 23:03:36 -0400 [thread overview]
Message-ID: <005801cc9a9e$59d4f2a0$0d7ed7e0$@gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 55 bytes --]
Patch to allow numbers in domain names for cifscreds.
[-- Attachment #1.2: cifs-utils-all_numeric_domain_names.diff --]
[-- Type: application/octet-stream, Size: 493 bytes --]
diff --git a/cifscreds.c b/cifscreds.c
index f21a47f..5fbf4e8 100644
--- a/cifscreds.c
+++ b/cifscreds.c
@@ -43,7 +43,8 @@
/* allowed and disallowed characters for user and domain name */
#define USER_DISALLOWED_CHARS "\\/\"[]:|<>+=;,?*@"
#define DOMAIN_ALLOWED_CHARS "abcdefghijklmnopqrstuvwxyz" \
- "ABCDEFGHIJKLMNOPQRSTUVWXYZ-."
+ "ABCDEFGHIJKLMNOPQRSTUVWXYZ-." \
+ "0123456789"
/* destination keyring */
#define DEST_KEYRING KEY_SPEC_USER_KEYRING
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4995 bytes --]
next reply other threads:[~2011-11-04 3:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-04 3:03 Donald R. Gray Jr [this message]
2011-11-04 13:52 ` Patch numeric domain names Jeff Layton
[not found] ` <20111104095253.14e7f0a5-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2011-11-04 16:20 ` Steve French
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='005801cc9a9e$59d4f2a0$0d7ed7e0$@gmail.com' \
--to=donald.r.gray-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.