LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Zentyal DC logon script (https://www.linuxquestions.org/questions/linux-software-2/zentyal-dc-logon-script-4175582994/)

jjani33 06-24-2016 11:27 AM

Zentyal DC logon script
 
Hi!

I've Zentyal 4.2 domain controller server. I would like to reach that when users login to Windows, mount some network drives automatically with logon script. (just only those drives where the user have permission)

The users profiles store in /home/samba/profiles/ and the users home's directory in /home/<username>.

This is my smb.conf netlogon parts:

logon path = \%L\samba\profiles\%U
logon home = \%L\%U
logon script = logon.bat
[netlogon]
path = /var/lib/samba/sysvol/domain.local/scripts
browseable = no
read only = yes
I put the logon.bat and <username>.bat files to the followed directories:

/var/lib/samba/sysvol/domain.local/scripts
/home/samba/profiles/<username>
/home/<username>
But didn't work...

Can you help me?

(sorry for my English)

jjani33 06-27-2016 02:36 AM

nobody?


All times are GMT -5. The time now is 04:51 AM.