Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Samba] SAMBA4 AD - Logon Scripts

858 views
Skip to first unread message

Craig SHONE

unread,
Jul 8, 2015, 5:42:02 AM7/8/15
to
Hi all



Anyone having problems running logon scripts in 4.2.2?



I've created a few test scripts (.bat, .vbs, etc) and placed them in the
netlogon folder and then assigned some user accounts either the .bat or .vbs
files using RSAT tools.



Yet at login none of my client workstations (Windows XP, 7 or 8) execute
their login scripts, none get mapped drives, etc. Browsing to the netlogon
folder on each machine and running the script manually works fine.



Do I need the netlogon directive in my smb.conf ? Or is this deprecated in
favour of assigning via RSAT tools?



Thanks

Craig.

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

John P

unread,
Oct 26, 2015, 11:36:41 AM10/26/15
to
You must add the name of the script in the user profile or in an OU As follow:

name.bat

not

/netlogonDir/scriptName.bat

In addition within the smb.conf you must write which is where the netlogons are.

[netlogon]
path = /your/directory/netlogon


Excuse my language Hope that helps.

smr.ero...@institutoserpis.org

unread,
Jan 16, 2017, 2:14:59 PM1/16/17
to
gracias compañero del metal
0 new messages