Web lists-archives.com

Re: [Samba] samba-tool: Set sAMAccountName or userPrincipalName

On Wed, 22 Aug 2018 11:54:26 -0300
Sergio Belkin via samba <samba@xxxxxxxxxxxxxxx> wrote:

> HI,
> Is samba-tool able to set sAMAccountName or uPN, I mean: something
> like:
> samba-tool user "John Doe" --upn john.doe@xxxxxxxxxxxx ?
> Thanks in advance!

Both at the same time ;-)

samba-tool user create john.doe P4ssw0rd* --use-username-as-cn

Leads to:

dn: CN=john.doe,CN=Users,DC=samdom,DC=example,DC=com
cn: john.doe
name: john.doe
sAMAccountName: john.doe
userPrincipalName: john.doe@xxxxxxxxxxxxxxxxxx


To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba