LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 06-24-2016, 11:27 AM   #1
jjani33
LQ Newbie
 
Registered: Jun 2016
Posts: 2

Rep: Reputation: Disabled
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)
 
Old 06-27-2016, 02:36 AM   #2
jjani33
LQ Newbie
 
Registered: Jun 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
nobody?
 
  


Reply


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 07: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 11:20 AM
WinXP pro don't run "logon script = logon.bat" Bengt7jqb Linux - Server 2 04-13-2008 12:11 PM
Logon script icedude Linux - Newbie 5 04-19-2005 08:01 AM
Logon Script.... vamsi_samavedam Linux - Distributions 1 05-25-2004 08:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:47 AM.

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