Author Topic: netlogon script in Zentyal 5.0.7  (Read 3068 times)

shahdivy

  • Zen Apprentice
  • *
  • Posts: 21
  • Karma: +1/-0
    • View Profile
netlogon script in Zentyal 5.0.7
« on: February 16, 2017, 10:28:24 pm »
I have Zentyal PDC and 2 Additional DC servers running Development version 5.0.

Configuration: - Site A - PDC and ADC ( 2 servers)
                     - Site B - ADC ( 1 server)

Testing done in Site B with windows 10 client which has joined domain.
         
Trying to setup a logon script to map shares from external device ( QNAP).

Have done following -

- Stub file in /usr/share/zentyal/stubs/samba/smb.conf.mas
    Added line: logon script = netlogon.bat

- Added script netlogon.bat in /var/lib/samba/sysvol/<domain>/scripts

- Confirmed from client we can see the logon script \\<domain>\sysvol\...
- Run it manually from client and its working.
- tried using RSAT tool on windows client to add logon script path in user profile.
- Setup DNS to ADC ( additional DC) which is local to the windows client.  Have also tried setting DNS to PDC in Site A (remote).

Any ideas why script is not running?




tamuin

  • Zen Apprentice
  • *
  • Posts: 19
  • Karma: +1/-1
    • View Profile
Re: netlogon script in Zentyal 5.0.7
« Reply #1 on: May 03, 2017, 05:27:34 am »
how did you solve this?

shahdivy

  • Zen Apprentice
  • *
  • Posts: 21
  • Karma: +1/-0
    • View Profile
Re: netlogon script in Zentyal 5.0.7
« Reply #2 on: May 03, 2017, 01:12:04 pm »
Unfortunately, I have not been able to find the solution.   

Currently, I am just mapping in user profile home folder from QNAP.  Wanted to map other shared folders which are done manually at each client!