31.10.2024 13:30, Marc Haber wrote:
On Tue, Oct 29, 2024 at 02:32:07PM +0300, Michael Tokarev wrote:
It is definitely not okay to forbid users with backslashes generally.
Exactly because of this samba/windows example, - which, I think, is the
only example where backslash is used, and where it is *commonly* used
too.

I want to continue supporting this and have downgraded this bug
accordingly. At the moment, that doesn't work since useradd will reject
the user. Chris, how strongly are you opposed agsinst allowing
backslashes in usernames in useradd?

How allowing samba-style DOMAIN\user in *domain* environment
is related to supporting backslash in usernames in useradd?

useradd modifies local /etc/passwd, where such usernames are
definitely NOT common.  But it has nothing to do with
DOMAIN\user names resolved using nss_winbind & pam_winbind,
where useradd does not work.

/mjt

Reply via email to