[Samba] Logon scripts and AD...

Andrew Bartlett abartlet at samba.org
Thu Mar 8 10:10:08 UTC 2018

On Thu, 2018-03-08 at 11:04 +0100, Marco Gaiarin via samba wrote:
> I'm a bit confused.
> How i can set a netlogon script? Samba wiki seems does not contain
> hint, smb.conf manpage does not explicitly reference 'logon script'
> option as 'deprecated' (or non working) one in AD.
> So:
> a) 'logon script' work in AD mode?


> b) the correct way to set netlogon script are via GPO? Like in:
> 	https://www.petri.com/setting-up-logon-script-through-gpo-windows-server-2008
> (first link hitted on google).

I had thought the correct way would be to set the attribute on the
user, but if GPOs work then do that.  (They are read client side). 

Andrew Bartlett
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba

More information about the samba mailing list