The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > Linux
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 06-17-2009
bwhitehd bwhitehd is offline
Registered User
  
 

Join Date: Jun 2009
Location: Texas
Posts: 28
RE: samba logon script

Samba provides functionality for this. I used to do this all the time, but I haven't touched it in a while. To start, take a look at this link that outlines the basic steps to the logon process.

Chapter*26.*System and Account Policies

You will need to create a [netlogon] section in your smb.conf. Also, take a look at the documentation for the following parameters. They will provide some of the functionality you need without the need for running a logon script.

Code:
logon script
logon home
logon path
logon drive

Also, with Windows NT4/200x/XP and probably Vista, you can create a ntconfig.pol group policy file. This is also outlined in the Samba documentation.

If you post your smb.conf file, someone can probably help with specifics.

I hope this helps. Good luck.