[Samba] Logon script via GPO

Chris Rowson christopherrowson at gmail.com
Mon May 13 10:57:55 MDT 2013

On 13 May 2013 17:38, "Luc Lalonde" <luc.lalonde at polymtl.ca> wrote:
> Hello Folks,
> I'm trying to get a logon script to execute via a GPO with Samba 4.0.5.
> I used the Group Policy Editor that came with the Administration tools
and linked a simple 'logon.bat' batch file to automatically mount a network
share for a given 'OU=students'.
> When I log in with a user that's in this container, it does not seem to
execute the login script.
> Anyone have an idea why this isn't working?
> Here's the Policy on the Samba4 server:
> [root at foo Logon]# pwd
> /usr/local/samba/var/locks/sysvol/
> [root at foo Logon]# ls
> logon.bat
> I've done this before on a regular non-samba AD domain...   What's
missing to get this to work?
> Thank You!
> --
> Luc Lalonde, analyste
> ---------------------------------------------------------------------
> Département de génie informatique:
> École polytechnique de Montréal
> (514) 340-4711 x5049
> Luc.Lalonde at polymtl.ca
> ---------------------------------------------------------------------
> If you are not paying for it, you're not the customer; you're the product
being sold. (Andrew Lewis)
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba

Any logs on the client machine? Just wonder if it's seeing the policy.
Also,  have you tried gpresult on the client?



More information about the samba mailing list