[Samba] Restricting logins using pam_winbind require_membership_of ?

Christ Schlacta lists at aarcane.org
Sat Jun 18 01:04:20 MDT 2011


On 6/17/2011 09:46, Aaron E. wrote:
> In the samba share definition you could add
> valid users = +group
>
> this should have the effect your looking for if I understand you 
> correctly. If not my apologies..
>
> On 06/17/2011 12:28 PM, John McNulty wrote:
>> Hi.
>>
>> I have some shares on a server that are offered to specific Active 
>> Directory
>> user groups, but the business doesn't want those users to be able to 
>> login
>> to the server.  If I were to add "require_membership_of"  to 
>> pam_winbind to
>> limit logins and shut out the users I don't want, would it also have the
>> side effect of denying those users access to the shares as well?
>>
>> Regards,
>>
>> John
>
I'm suddenly curious about this as well.  please let us know your results!


More information about the samba mailing list