On Mon, 25 Sep 2017 17:01:09 +0200 "Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote:> Am 2017-09-25 um 16:49 schrieb Rowland Penny via samba: > > On Mon, 25 Sep 2017 16:35:52 +0200 > > "L.P.H. van Belle via samba" <samba at lists.samba.org> wrote: > > > >> 100 is debian default for users > >> And as far i remember stefhan uses debian. > >> > > > > Yes, I know that, but I also know that it is usually only used on a > > DC, is an xidNumber and wont work on a Unix domain member, unless, > > for some unknown reason, Domain Users id given the gidNumber '100' > > I can't remember any decision for a gidNumber '100'. > > This funny domain was converted from NT4 back then via classic > upgrade, I bugged you and the list for weeks back then ;-) > > Maybe this is some legacy from then? > >Not sure, run this on both the DC and the DM: getent group "Domain Users" | awk -F ':' '{print $3}' You should get the same number. Rowland
Am 2017-09-25 um 17:10 schrieb Rowland Penny via samba:> Not sure, run this on both the DC and the DM: > > getent group "Domain Users" | awk -F ':' '{print $3}' > > You should get the same number.as mentioned in the other reply DC: 100 DM: 10513 - and using "id" as Louis did: DC # id kamleitnerl uid=10072(ARBEITSGRUPPE\kamleitnerl) gid=100(users) Gruppen=100(users),3000001(BUILTIN\users) DM # id kamleitnerl uid=10072(kamleitnerl) gid=10513(domain users) Gruppen=10513(domain users),100(users),3001(BUILTIN\users)
Am 2017-09-25 um 17:18 schrieb Stefan G. Weichinger via samba:> as mentioned in the other reply > > DC: 100 > DM: 10513 > > - and using "id" as Louis did: > > DC # id kamleitnerl > uid=10072(ARBEITSGRUPPE\kamleitnerl) gid=100(users) > Gruppen=100(users),3000001(BUILTIN\users) > > DM # id kamleitnerl > uid=10072(kamleitnerl) gid=10513(domain users) Gruppen=10513(domain > users),100(users),3001(BUILTIN\users)maybe I am still wrong but I assume I have to use "--gid-number=10513" when creating a user, and not "100" ? as in: # samba-tool user create User5 P#ssw5rd --nis-domain=ARBEITSGRUPPE --unix-home=/home/User5 --uid-number=10098 --login-shell=/bin/false --gid-number=10513 Or skip that option ? We will test that tmrw, thanks so far ....