[Samba] [AD/PDC] Logins with Spaces do not work

Jeremy Allison jra at samba.org
Mon Jun 1 10:54:48 MDT 2015


On Sat, May 30, 2015 at 04:48:07PM +0200, Andreas Happe wrote:
> Hi,
> 
> On Fri, May 29, 2015 at 7:17 PM, Jeremy Allison <jra at samba.org> wrote:
>      It's a really bad idea to have logins with spaces. It can
>      cause all sorts of security issues in all sorts of subtle
>      ways. Replace the spaces with '_' (underscoer).
> 
> The usernames are from the legacy system -- I didn't (and wouldn't) set up them
> in that way. I should be able to change them but have to check this with the
> customer.
> 
> Problem is that I was able to convert the existing Windows 2003 Active
> Directory (through the wiki documentation). If spaces within usernames are not
> supported it would have been helpful if this would lead to an error message
> during conversion or be at least mentioned in the documentation.
> 
> (also if samba's goal is to replace a windows ad server it would be nice if it
> would support the same usernames).

Yes I know, but Windows <> UNIX and the Samba goal is to bridge
the two. There are many scripts etc. that really don't like
usernames with spaces in them on UNIx.


More information about the samba mailing list