[Samba] Local vs public domain dns

Andrew Bartlett abartlet at samba.org
Mon Dec 6 21:13:09 UTC 2021


On Mon, 2021-12-06 at 20:58 +0000, Rowland Penny via samba wrote:
> 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
> here:
> 
> https://www.petenetlive.com/KB/Article/0001238

Samba fairly blindly reads the userPrincipalName attribute of each
user.  However the suffixes are probably useful in a cross-forest
situation, and perhaps in client UI utilities.  However multi-forest
Samba installationss are rare.

Andrew Bartlett
-- 
Andrew Bartlett (he/him)       https://samba.org/~abartlet/
Samba Team Member (since 2001) https://samba.org
Samba Team Lead, Catalyst IT   https://catalyst.net.nz/services/samba

Samba Development and Support, Catalyst IT - Expert Open Source
Solutions








More information about the samba mailing list