Web lists-archives.com

Re: [Samba] Domain member server: user access




On Mon, 25 Sep 2017 17:33:55 +0200
"Stefan G. Weichinger via samba" <samba@xxxxxxxxxxxxxxx> 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=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)

Rowland



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