[Samba] Local vs public domain dns

Rowland Penny rpenny at samba.org
Mon Dec 6 20:58:08 UTC 2021

On Mon, 2021-12-06 at 15:33 -0500, Philippe LeCavalier via samba wrote:
> Just a quick question on implementation. I've got this working now
> and
> would like to have users I create be able to use the @domain.com
> rather
> than the default UPN. I get that there is no way to do this on first
> creation but I was looking at the --upn function of the rename option
> but
> can't seem to get it right. First off, is that the correct option to
> add
> the alternate suffix and if so, what's the syntax because samba-tool
> user
> rename $username --upn=domain.com doesn't work.

Before you can use a different UPN, AD needs to know about it, not sure
how you would do this from Samba, but it is easy from Windows, see



More information about the samba mailing list