[Samba] group mapping question

MargoAndTodd margoandtodd at gmail.com
Sun May 10 04:43:11 GMT 2009


Peter Ulrich Kruppa wrote:
> Am Samstag, den 09.05.2009, 13:00 -0700 schrieb MargoAndTodd:
>> Miguel Medalha wrote:
>>>>  net groupmap add ntgroup="Domain Admins" unixgroup=domadm rid=512 type=d
>>>>
>>>> Question 1: if my previous /etc/group names already match the
>>>> ntgroup names, do I still need to run the above command?
>>>>
>>> Yes.
>>>
>> Okay,  Now I am really confused.  I have three users in my
>> PDC that exist no where else.  In /etc/groups they are
>> assigned to "users" (100).  My smb.conf restricts users
>> to group "users".  These three users are able to use my
>> shares.
> Sorry, perhaps my answer wasn't clear enough:
> Sambas user/group database is completely seperate from your unix
> user/group system.
> So all samba groups have to be mapped to unix groups.
> You have to check your system of permissions carefully, since samba
> can't allow things that are forbidden to unix users. 
> 
> Greetings,
> 
> Uli.

Hi Uli,

Is this a difference between workgroup samba and pdc SAMBA?
I have a workgroup Samba customer with about 15 /etc/groups
controlling who sees what.  Works perfectly.

Confused,
-T


More information about the samba mailing list