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
On Mon, Jun 01, 2015 at 08:41:16PM +0200, Andreas Happe wrote:> 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".So after chatting with Andrew, he pointed out that when we're a member server we must cope with usernames containing spaces in them as we don't get to chose the naming restrictions at that point (although many of the '%' substitutions will probably replace the ' ' with '_'). So we really should work in this case. Can you recap what isn't working ?
Hi, On Tue, Jun 2, 2015 at 11:34 PM, Jeremy Allison <jra at samba.org> wrote:> So we really should work in this case. Can you recap what > isn't working ? >Thank you! Added a Samba Domain Controller (4.1.17-Debian) to a Microsoft Windows 2003-based Active Directory (had to upgrade the Schema Version, if this is important I can gather that information). User Account Information got replicated.When I disconnected the Windows Server most Clients (Windows 7) did work -- except those with blanks in the username. Tests (adding/removing) blanks to the names made the problem reproducible (removed the blank from an exising account with blanks -> login did work. Reintroduced the blank -> login did not work). With a Linux Client kinit did work (with or without blanks in usernames). The Samba Server is currently disconnected from the network (as it prevents clients from login), but can be reactivated if needed. cheers, Andreas -- GPG-Key-Id: DD436203 Github: https://github.com/andreashappe Linked-In: http://at.linkedin.com/in/andreashappe