[Samba] Samba with pam_group.so: add group on log in

Arokux B. arokux at gmail.com
Fri Jul 27 15:34:47 MDT 2012


Hi,

I am using pam_group.so to add some additional groups to the users.
However, although Samba obeys pam restrictions, it obeys only
"session" type of management. pam_group.so, however can be used only
with auth. That's why if a user logs in through Samba it won't have a
particular group added and so not enough permissions to work with a
share.

How else can I add a group to a user account on the fly just after Samba log in?

Thanks
Arokux


More information about the samba mailing list