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 ....
On Mon, 25 Sep 2017 17:33:55 +0200 "Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote:> 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=10513Yes> > Or skip that option ?No, you will get an error message if you do (unless you also drop the '--nis-domain' option as well) Rowland
Am 2017-09-25 um 17:41 schrieb Rowland Penny via samba:> On Mon, 25 Sep 2017 17:33:55 +0200 > "Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote:>> 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 > > Yes > >> >> Or skip that option ? > > No, you will get an error message if you do (unless you also drop the > '--nis-domain' option as well)ok. We will try that tmrw ... got to leave now. Have a nice evening everyone (at least here it is evening ...) stefan