[Samba] Logon scripts

Ricky Nance ricky.nance at weaubleau.k12.mo.us
Fri Mar 8 13:15:22 MST 2013


Hello Terry,
You will need to define a logon script for each user in the Active
Directory Users and Computers (ADUC) tool or you can do this through user
GPO's (there is a logon script option under the user module).

In ADUC, select a user (or highlight several users) then under the profiles
tab add the filename (logon.bat for me, your's may be different) and ensure
that the logon.bat exists in the netlogon share.

For the GPO option you can open Group Policy MMC and select your users OU,
then create new policy, name it something useful (map homes share, or run
logon script for instance), edit it, and under User Configuration, click
Windows Settings, scripts (logon/logoff), then double click the logon
option, and add your file to the GPO under the show files button, then
click Add, and select the file you just added (or created) there.

Ricky


On Fri, Mar 8, 2013 at 2:02 PM, Terry Austin <terry at crownhardware.com>wrote:

> Is there a detailed howto on setting up logon scripts on Samba 4? Or is it
> the same as for 3?
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>



--


More information about the samba mailing list