Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-24-2016, 12:27 PM   #1
LQ Newbie
Registered: Jun 2016
Posts: 2

Rep: Reputation: Disabled
Zentyal DC logon script


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
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:

But didn't work...

Can you help me?

(sorry for my English)
Old 06-27-2016, 03:36 AM   #2
LQ Newbie
Registered: Jun 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Logon script glimmer1980 Linux - Networking 5 11-13-2012 08:44 AM
LXer: Zentyal 3.0 Beta | Zentyal 2.3-2 beta installer available (Feature reeze is ON)! LXer Syndicated Linux News 0 07-21-2012 12:20 PM
WinXP pro don't run "logon script = logon.bat" Bengt7jqb Linux - Server 2 04-13-2008 01:11 PM
Logon script icedude Linux - Newbie 5 04-19-2005 09:01 AM
Logon Script.... vamsi_samavedam Linux - Distributions 1 05-25-2004 09:46 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration