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). cheers, Andreas -- GPG-Key-Id: DD436203 Github: https://github.com/andreashappe Linked-In: http://at.linkedin.com/in/andreashappe
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.
Hi, On Mon, Jun 1, 2015 at 6:54 PM, Jeremy Allison <jra at samba.org> wrote:> > (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. >Then please warn users that they are using Samba in an unsupported way during conversion. Bonus points if an error message is logged that contains "username" and "blank". If you point me to the right source files, I should be able to provide a patch for that. TBH that when an admin is sticking to the documentation, no error is produced but things fail with an incomprehensible error message is making me rather nervous when recommending samba. cheers, Andreas -- GPG-Key-Id: DD436203 Github: https://github.com/andreashappe Linked-In: http://at.linkedin.com/in/andreashappe