[Samba] samba-tool set default group

Gémes Géza geza at kzsdabas.hu
Thu Feb 9 11:17:17 MST 2012


2012-02-09 14:21 keltezéssel, steve írta:
> Hi
> How do I set the default group for a user?
>
> e.g.
> samba-tool group add opensuse
> samba-tool group addusers opensuse steve
>
> But steve's default group is still Users.
>
> I'm looking for soething like this:
> 'samba-tool group setdefaultgroup steve opensuse'
>
> But here isn't that command. I have to do it in Windows.
>
> Is there a command I'm missing?
> Cheers,
> Steve
IMHO currently your best bet is ldbmodify.

Regards

Geza


More information about the samba mailing list