[Samba] Logon Script

D. Rick Anderson ruger at acsnv.com
Sun Jun 8 06:36:47 GMT 2003

Create a share [netlogon] that your users only have read access to. The
logon script = parameter will then be relative to the path designated in
that share.

For instance, if [netlogon] points to /usr/local/samba/netlogon and you
have login script = %U.bat then /usr/local/samba/netlogon/fred.bat will be
launched when the user fred authenticates.



> I created script files for users and the machines to execute when the
> machines connected or the users logged on to the server.  I wasn't sure
> where the files were suppose to go, so I put "logon script =
> <path>%U.bat" and "logon script = <path>%I.bat".  Would that syntax work
> and how do I test it?  Do the files need to be executable?
> --
> Note: When you reply to this message, please include the mailing
>       list address and my email address in To: and/or Cc: with
>       any proper combination
> *********************************************************************
> Signed,
> SoloCDM
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list