[Samba] samba-tool set default group
Gémes Géza
geza at kzsdabas.hu
Fri Feb 10 10:28:10 MST 2012
2012-02-10 12:11 keltezéssel, steve írta:
> On 02/10/2012 12:08 PM, steve wrote:
>> 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
>>
> Sorry:
> http://4.bp.blogspot.com/-oeTty-Y6HFo/TzT49_mZe3I/AAAAAAAAALE/zGb00l_WMC4/s1600/ldapadmin.png
>
Hi,
You need to modify the user, not the group. The attribute you are
looking for is:
primaryGroupID
Regards
Geza
More information about the samba
mailing list