Am 2017-02-01 um 12:19 schrieb Rowland Penny via samba:> ADUC never added uidNumbers automatically, you had to use the Unix > Attributes tab, but this no longer exists on windows 10, you have to > use the 'attributes' tab > > The only way (that I know) to create a user with a uidNumber, is to > use samba-tool, run 'samba-tool user create --help' for more info.So samba-tool is the way to go? I had the impression that even a testuser created with that did miss that attribute ... I will check than asap. thanks
On Wed, 1 Feb 2017 14:33:09 +0100 "Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote:> Am 2017-02-01 um 12:19 schrieb Rowland Penny via samba: > > > ADUC never added uidNumbers automatically, you had to use the Unix > > Attributes tab, but this no longer exists on windows 10, you have to > > use the 'attributes' tab > > > > The only way (that I know) to create a user with a uidNumber, is to > > use samba-tool, run 'samba-tool user create --help' for more info. > > So samba-tool is the way to go? > I had the impression that even a testuser created with that did miss > that attribute ... I will check than asap. > > thanks > >If you just run 'samba-tool user create testuser' you will get a user without a uidNumber. See example5 from 'samba-tool user create --help' for how to create a user with a uidNumber, but there is a gotcha, you will need to track the next uidNumber or gidNumber yourself. Rowland
And a good read here: https://blogs.technet.microsoft.com/activedirectoryua/2016/02/09/identity-management-for-unix-idmu-is-deprecated-in-windows-server/ Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens Rowland Penny via > samba > Verzonden: woensdag 1 februari 2017 14:49 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] creating new users - missing uidNumber > > On Wed, 1 Feb 2017 14:33:09 +0100 > "Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote: > > > Am 2017-02-01 um 12:19 schrieb Rowland Penny via samba: > > > > > ADUC never added uidNumbers automatically, you had to use the Unix > > > Attributes tab, but this no longer exists on windows 10, you have to > > > use the 'attributes' tab > > > > > > The only way (that I know) to create a user with a uidNumber, is to > > > use samba-tool, run 'samba-tool user create --help' for more info. > > > > So samba-tool is the way to go? > > I had the impression that even a testuser created with that did miss > > that attribute ... I will check than asap. > > > > thanks > > > > > > If you just run 'samba-tool user create testuser' you will get a user > without a uidNumber. See example5 from 'samba-tool user create --help' > for how to create a user with a uidNumber, but there is a gotcha, you > will need to track the next uidNumber or gidNumber yourself. > > Rowland > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
Am 2017-02-01 um 14:49 schrieb Rowland Penny via samba:> If you just run 'samba-tool user create testuser' you will get a user > without a uidNumber. See example5 from 'samba-tool user create --help' > for how to create a user with a uidNumber, but there is a gotcha, you > will need to track the next uidNumber or gidNumber yourself.yes, we figured that out and tested it already, thanks I will write some script or alias to read the highest uidnumber from LDAP for their admin. A bit strange to have to do that, but it seems to be so for samba domain servers, right?
Am 2017-02-01 um 14:53 schrieb L.P.H. van Belle via samba:> And a good read here: > > https://blogs.technet.microsoft.com/activedirectoryua/2016/02/09/identity-management-for-unix-idmu-is-deprecated-in-windows-server/will read in the next days, thanks