[Samba] Again missing option in samba-tool

steve steve at steve-ss.com
Mon Jan 20 05:54:35 MST 2014

On Mon, 2014-01-20 at 11:13 +0100, Rene van Schijndel wrote:
> Hello,
> FIrst a big thanks to Steve and Rowland for helping me out with the missing
> option in "samba-tool add user".
> This time i missing an option to set the unix group id with the "samba-tool
> group add".
> I hope some one known a why of doing this.
> Rene.

That one seems to have fallen thru' the net too. So for now on the DC,
create the group:
samba-tool group add gr

Make a ldif e.g. gr.ldif:
DN: CN=gr,CN=Users,DC=your,DC=domain
Changetype: add
add: gidNumber
gidNumber: 1234567

Then add it to the db:
ldbmodify --url=/usr/local/samba/private/sam.ldb br.ldif


More information about the samba mailing list