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

Samba 4 domain controller - logon script

46 views
Skip to first unread message

kassa...@gmail.com

unread,
Aug 18, 2016, 3:10:44 AM8/18/16
to
Hi Folks,

I've got a samba 4.1 DC on my domain. (It is a Zentyal 4)
The logging into domain is working well.
I'd like to assign a network drive to all users from another samba server.
I have read and tried a lot of configs, but I can't see in the samba logs the client tries to access the logon.bat file.

The related config is:
[global]
log file = /var/log/samba/samba.log
logon script = logon.bat
logon drive = G:

[netlogon]
path = /home/netlogon/
browseable = No
read-only = Yes

[sysvol]
path = /var/lib/samba/sysvol
read only = No


The current logon.bat contains only 1 row for test purposes "timeout 10" and a dos style line break. If I log on and try to run this file with "call \\10.10.1.254\netlogon\logon.bat" runs normally, but not on logon time.



Has anybody idea what could be wrong? It would be very important for me.

THX
Istvan
0 new messages