The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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



Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Login script in samba tal UNIX for Advanced & Expert Users 3 11-24-2008 07:57 AM
Help on a login script gbarnes Shell Programming and Scripting 1 04-10-2008 02:19 AM
Enabling samba login for administrator kymthasneem IP Networking 2 06-29-2007 06:17 AM
How to enable samba login for administrator kymthasneem Security 1 06-29-2007 06:14 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-17-2009
woofie woofie is offline
Registered User
  
 

Join Date: Jan 2004
Location: Australia
Posts: 195
Samba login script

Hi,

I'm wondering if someone can help me. I've tried searching for my answer for a bit with no luck

What I have done is setup SUSE as a PDC, able to get Windows client to connect to it fine no problems at all.

Thing where I'm getting lost is I want to create a login script for the users (Windows clients at the moment). I want to make it so when a user using a Windows client creates/saves something to the Windows "my Documents" section it will be saved on the server (Linux). But on Windows look like it normally would/

Any idea's how this can be done in the login script? I would prefer a link to some documentation or something as I'm learning a heap of good stuff when reading up on how to do one thing but learning a heap more But if not an example would do.


Cheers
  #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.
  #3 (permalink)  
Old 06-17-2009
bforest bforest is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 1
Hello,

The following link may have some of the answers you are looking for.

Chapter*27.*Desktop Profile Management

bforest
  #4 (permalink)  
Old 06-17-2009
mark54g mark54g is offline
Registered User
  
 

Join Date: May 2008
Posts: 364
Can't you map their "My Documents" to be on your server's share? Another option would be Unison, and have Unison scheduled to sync, but that won't be instantaneous.
  #5 (permalink)  
Old 07-30-2009
ilikecows's Avatar
ilikecows ilikecows is offline
Registered User
  
 

Join Date: Jul 2009
Posts: 114
bwhitehd is correct. With samba you can set up "roaming profiles" for your domain clients. The samba documentation bwhitehd and bforest posted a links to will tell you how to do this. My documents wont be the only thing on the server though. There entire directory under Documents and Settings on XP and Users on Vista will be on the server. Users tend to enjoy this because their desktop and application settings follow them to different machines as well. Your client support personnel will love this because it is less time spent helping users set up email, office, etc.
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:43 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0