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). Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/ Polo FVG - Via della Bontà , 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000 (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
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?No.> 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
On Thu, 08 Mar 2018 23:10:08 +1300 Andrew Bartlett via samba <samba at lists.samba.org> wrote:> 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? > > No. > > > 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 BartlettNo, 'logon script' doesn't work in AD mode, you need to use the 'scriptPath' attribute in AD or a GPO. Rowland