Zentyal Forum, Linux Small Business Server
Zentyal Server => Installation and Upgrades => Topic started by: jan.rok on October 23, 2012, 02:21:09 pm
-
Hallo,
I have Zentyal 3.0.3 as PDC for LAN with Windows 7 Prof.
My loginscript is placed in \\server\netlogon\, name is logon.bat.
I can this logon.bat run only manually - this working.
But I login to the PC using PDC, it didnt works at all.
For my tests is in login.bat only:
echo on
pause
But I login to the PC using PDC, it didnt works at all. I have only home directory H:\.
Why?
Thanks very much for help.
J.R.
-
I have any solution (for Zentyal 3.0 with Samba4):
1. Place LOGIN.BAT into \\server\netlogon (/var/lib/samba/sysvol/<domain_name>/scripts)
2. On Windows station as Domain Administrator install "Windows Remote Administration Tools" (see http://wiki.samba.org/index.php/Samba4/HOWTO#Viewing_Samba_4_Active_Directory_object_from_Windows (http://wiki.samba.org/index.php/Samba4/HOWTO#Viewing_Samba_4_Active_Directory_object_from_Windows)).
3. Run " Active Directory Users and Computers Snap-In" (dsa.msc from Command Line).
3. For each user in Active Directory set login script (Expand <domain_name> tree --> Users, select any users, open Properties, select Profile tab, enter LOGIN.BAT
-
Thank you.
When can i set this option to all user? Or user teamplate?