[Samba] samba4 user add - memberOf

Mike Howard mike at dewberryfields.co.uk
Fri Jan 27 04:39:36 MST 2012

On 27/01/2012 11:15, Daniel Müller wrote:
> Look at:
> https://wiki.samba.org/index.php/Samba-tool-external
> -----------------------------------------------
> Hi All,
> After adding a new user, using 'samba-tool user add', what would be the
> best way to make the new user a 'memberOf' a specific group, from the
> command line/script?
> I was thinking, the obvious way would be the ldb* tools, are they
> documented anywhere?
> Regards,
> Mike.
Thanks for the link.

I have now worked it out and ldbmodify has done the trick.

Any question is easy if you know the answer!

More information about the samba mailing list