[Samba] logon script

Pastor Frank E. Ramírez frankernesto.ramirez at gmail.com
Tue Apr 4 15:43:36 UTC 2023

Hi, I am using Samba 4 with domain controller role. The clients use Windows
10. I am trying to run a logon script every time a user logs in to give
them access to the internet automatically by updating iptables. I have read
in the smb.conf man pages that with this configuration I should use the
ldap scriptpath attribute but I don't know how to do it. Does anyone have
any idea how to achieve this. Thank you.

More information about the samba mailing list