[Samba] samba-tool set default group

steve steve at steve-ss.com
Fri Feb 10 04:08:37 MST 2012


On 02/09/2012 07:17 PM, Gémes Géza wrote:
> 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
I tried using phpldapadmin:
http://4.bp.blogspot.com/-oeTty-Y6HFo/TzT49_mZe3I/AAAAAAAAALE/zGb00l_WMC4/s320/ldapadmin.png
Same. I can add the user to the group but I can't find where the default 
group attribute or object is in ldap.

What shoud I be looking for?
Thanks,
Steve



More information about the samba mailing list