[Samba] authenticate to samba using email address

Andrew Bartlett abartlet at samba.org
Fri Oct 30 07:46:38 UTC 2020

On Thu, 2020-10-29 at 12:36 +0100, mj via samba wrote:
> Hi,
> Perhaps a strange question, but is it possible to configure samba to 
> accept an emailaddress as a username for authentication to a UNC
> network 
> path?
> (so: "username at domain.com" next to the standard "DOMAIN\username" or 
> "username at samba.domain.com")
> Some of our users access a samba UNC network path over VPN, while 
> working from home. They often have difficulties remembering the
> correct 
> username format.

NTLM authentication using the userPrincipalName on their AD record
should work.  The domain is "" if asked.

Andrew Bartlett
Andrew Bartlett                       https://samba.org/~abartlet/
Authentication Developer, Samba Team  https://samba.org
Samba Developer, Catalyst IT          

More information about the samba mailing list