[Samba] Logon script via GPO

Luc Lalonde luc.lalonde at polymtl.ca
Mon May 13 12:12:48 MDT 2013


Hello Chris,

Thanks for the hint... I looked in the client's event logs.   There was a permission problem accessing the 'Netlogon' share on the Samba4 server.

Problem solved, Thank You!

----- Original Message -----
From: "Chris Rowson" <christopherrowson at gmail.com>
Cc: samba at lists.samba.org
Sent: Monday, May 13, 2013 12:57:55 PM GMT -05:00 US/Canada Eastern
Subject: Re: [Samba] Logon script via GPO

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/
foobar.com/Policies/{A9793D9B-1FCF-4F7E-BB12-33F9383F8B92}/User/Scripts/Logon
>
> [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?

Cheers,

Chris
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

-- 
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)


More information about the samba mailing list