- Linux Training
- Desktop Tutorials
- Server Tutorials
|LTSP with Samba|
|Server Training - Linux Terminal Server|
Samba is a service that allows your Ubuntu LTSP Server to share directories or file systems with Windows computers. Creating a versatile network combining LTSP for Linux machines and Samba for Windows machines has several advantages.
1. Users Login with LTSP or Samba
Install Samba on Ubuntu 8.10
sudo apt-get install samba
Edit your /etc/samba/smb.conf file.
This file maps the account names in Linux to what their equivalent names would be in Windows. You will be able to access the same home folder from either. Be sure to make the workgroup the same as the workgroup on each of your Windows machines. Edit the hosts allow and put your network in to enhance the security somewhat. This is a very basic smb.conf but it will get you started.
workgroup = WORKGROUP
comment = Home Directory
This setup allows users to login with Samba to the same home directory that they have access to using LTSP. Users will only be allowed to connect to their own home folders and not be able to view the home folders of other users for security.
Test your set up with:
sudo /etc/init.d/samba restart
This scenario assumes that you have created the users in Linux so they are already able to access their files using LTSP and now you want to enable them to login with Samba from a Windows machine. Once the users are created in Linux you will need to give them a Samba account:
smbpasswd -a john
Copyright CyberMontana Inc. and BeginLinux.com
All rights reserved. Cannot be reproduced without written permission. Box 1262 Trout Creek, MT 59874