Re: [Samba] Help with Samba4 running logon script
use the ads tool from microsoft to do this stuff. You need more information I made a thread: HOWTO samba4 centos5.5 named dnsupdate drbd simple failover On Wed, 01 Dec 2010 16:41:19 -0500, Mark Sheppard m...@ams.org wrote: Hi! I am currently testing a Samba4 Alpha13 server with Windows Vista SPK2 and I am not able to run logon scripts. I am able to use both profiles and map Home folders without any problems. I do not see any DOS window opening with the script running and I have tested running this as both a user and administrator by hand by just clicking on the script .bat file which runs just fine. Therefore, there appears to be no permissions problem when you run it. I did also try inserting a net use command in the .bat just in case it was really working but I don't see any mapped drive either. Maybe this is a problem with Vista and I need to change a setting there? If you have any suggestions on what to check I would greatly appreciate it. Thanks. Mark Sheppard -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Help with Samba4 running logon script
You do in /usr/local/samba/etc/smb.conf [netlogon] path = /usr/local/samba/var/locks/sysvol/yourdomain/scripts read only = no Add a user with the ads tool. You write for each user with the ads tool the logon.bat or whatever would be your logon script. See there: http://technet.microsoft.com/en-us/library/cc779490(WS.10).aspx As admin copy the script to this location in the path of your samba netlogon. Thats it. It should work on the fly. On Thu, 02 Dec 2010 15:48:41 -0500, Mark Sheppard m...@ams.org wrote: Daniel: Thanks for the note! I am currently using the Microsoft ADS tools for trying to set the login script. I can set the parameters in the Samba4 LDAP server but nothing happens with it, profiles and home directories work just fine. I am going to check your web thread and see if I missed something. Anyways, thanks for all the support!! Mark Sheppard -- On 12/2/2010 2:36 PM, Daniel Müller wrote: use the ads tool from microsoft to do this stuff. You need more information I made a thread: HOWTO samba4 centos5.5 named dnsupdate drbd simple failover -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba