Safe netbios characters

Tim Potter tpot at samba.org
Thu Jan 17 16:01:08 GMT 2002


On Fri, Jan 18, 2002 at 06:36:26AM +0900, TAKAHASHI Motonobu wrote:

> >I'm not sure whether this patch is complete.  According to the User
> >Manager the following characters can't be present in a username:
> >"/\[]:;|=,+*?<> 
> >
> >Not sure about domain names though.  Also the space character is
> >specifically allowed in both domain and usernames!
> 
> If you imagine Japanese, more and more characters should be available.
> "What character is valid" depends on the codepage, so it should depend
> on "client code page" parameter if strictly or all characters except
> some dangerous chars need to be available, I think.

My suggestion was to add to the list of disallowed characters rather
than try to make a list of all the allowed ones.  You are right in
pointing out that this will be difficult and buggy for other non-7bit
ascii languages.  (-:


Tim.




More information about the samba-technical mailing list