Tomasz Chmielewski schrieb:
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
hi,
you can user ifmember.exe with a default.bat for groups,
and parse the host name in default bat to to do other stuff
this runs very nice and will give you the features you desire
Regards
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to