LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-07-2006, 03:03 PM   #1
vba_djs
LQ Newbie
 
Registered: Nov 2006
Location: United States
Distribution: Ubuntu 12.4
Posts: 12

Rep: Reputation: 0
Question Executing genlogon.pl within smb.conf


I have the following lines in my smb.conf to generate logon scripts on the fly. The script maps Samba shares to drive letters.

root preexec = /usr/share/logonscript/genlogon.pl %U %G %L
logon script = %U.bat

If I run the script manually in a termimal with values for the U, G, and L variables a logon script is created.

However, when log on from my Windows XP clients, the script is not created.

The clients can see the Samba server because I am able to manually map the Samba shares to drive letters.

The permissions for the logonscript directory are:

drwxr-xr-x root root

What am I missing?

Thanks.
 
  


Reply



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
Samba in Debian, smb.conf: smb passwd file = ?????????? henrnorl Linux - Software 1 10-06-2006 09:43 AM
smb.conf geletine Linux - Networking 4 07-21-2006 06:56 AM
smb.conf nkeever Linux - Newbie 1 05-03-2005 09:35 AM
samba conf smb.conf regnier Mandriva 5 02-17-2005 04:27 AM
smb.conf help PlatinumRik Linux - Networking 6 05-29-2003 01:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:39 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
Open Source Consulting | Domain Registration