Sergio Belkin
2018-Aug-22 14:54 UTC
[Samba] samba-tool: Set sAMAccountName or userPrincipalName
HI, Is samba-tool able to set sAMAccountName or uPN, I mean: something like: samba-tool user "John Doe" --upn john.doe at exampleo.com ? Thanks in advance! -- -- Sergio Belkin LPIC-2 Certified - http://www.lpi.org
Rowland Penny
2018-Aug-22 15:24 UTC
[Samba] samba-tool: Set sAMAccountName or userPrincipalName
On Wed, 22 Aug 2018 11:54:26 -0300 Sergio Belkin via samba <samba at lists.samba.org> wrote:> HI, > > Is samba-tool able to set sAMAccountName or uPN, I mean: something > like: > > samba-tool user "John Doe" --upn john.doe at exampleo.com ? > > 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 at samdom.example.com Rowland