[Samba] netlogon scripts for machines / groups - possible?

Tomasz Chmielewski mangoo at interia.pl
Thu Nov 4 14:34:18 GMT 2004


Hello,

I use Samba 3 as a PDC.

When a user logs in, a user-specific script is executed for him/her, as 
stated in smb.conf:

logon script = %U.bat


This is handy when it comes to do some minor tweaks, but can become pain 
when one have to do bigger changes.

Is it possible to execute also a "machine script" (for installing 
software etc.), and "group script" (users belonging to a certain group 
should have specific settings applied)?

I was thinking of something like:

logon script = %U.bat - now it's executed for a user

machine logon script = %m.bat

group logon script = %g.bat

etc.


Tomek


More information about the samba mailing list