LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-02-2008, 05:31 AM   #1
shishirkotkar
Member
 
Registered: Sep 2007
Posts: 83

Rep: Reputation: 15
using one machine to serve the home directory and user accounts


hi..

i have 2 servers one of them is an LTSP server and the other one is my NFS server..

LTSP sever is using /home fron nfs server by mounting it remotely

now i want to make my nfs server as my SAMBA server...for that i want to add users on the LTSP server to samba server on the other machine..

how do i do that???

i found one solution that is using my NFS server to serve user accounts

but i dont know how to do that...plz help
 
Old 05-02-2008, 06:10 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
You mean, something like this?
 
Old 05-02-2008, 10:22 AM   #3
shishirkotkar
Member
 
Registered: Sep 2007
Posts: 83

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Simon Bridge View Post
You mean, something like this?
the thing is that i have two linux machines...

on one of the systems i am running samba server....
and i want the users on the other machine to be added to samba users list..

so that i can provide those users with windows access using windows server 2003 which is running on my third server..

plz tell me how do i do that??
 
Old 05-02-2008, 10:41 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Um... you are talking to a free software advocate... I'm afraid my reply is obligated to be: replace the Win2000 server with a gnuLinux server

Anyway, the link shows you how to run LTSP and NFS servers on the same machine - windows network access is provided much the same way as NFS access... you install the samba client.

Case study:
http://www.linux.com/articles/48520

You need to read the manuals.
 
Old 05-02-2008, 11:31 AM   #5
shishirkotkar
Member
 
Registered: Sep 2007
Posts: 83

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Simon Bridge View Post
Um... you are talking to a free software advocate... I'm afraid my reply is obligated to be: replace the Win2000 server with a gnuLinux server

Anyway, the link shows you how to run LTSP and NFS servers on the same machine - windows network access is provided much the same way as NFS access... you install the samba client.

Case study:
http://www.linux.com/articles/48520

You need to read the manuals.

m already running a ltsp server...
one of the 2 machines which i have is my LTSP server..

right now my LTSP server is my SAMBA server also but i want to separate the SAMBA server and put it onto another machine

but i want the LTSP users to get access to windows sessions simultaneously

for that i need to add LTSP users to SAMBA rite??

plz tell me how?
 
Old 05-03-2008, 12:38 AM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
The same way you do for other users... uzzled:

Perhaps you need to spell out your situation...

You have two linux machines and they are able to access a network which includes a win2000 server and an unspecified number of windows machines.

An undisclosed number of these machines, and/or/including, the server itself, are sharing one or more directories via a windows network (SMB). Presumably, fat linux clients are able to access these shares, in an unspecified way, using samba.

One machine is an existing LTSP server - so you have an unspecified number of thin clients.

You would like the linux thin clients to be able to access the smb shares on the windows network?

http://www.ltsp.org/twiki/bin/view/Ltsp/WebHome
http://wiki.ltsp.org/twiki/bin/view/Ltsp/Documentation

Last edited by Simon Bridge; 05-03-2008 at 12:39 AM.
 
Old 05-03-2008, 04:21 AM   #7
shishirkotkar
Member
 
Registered: Sep 2007
Posts: 83

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Simon Bridge View Post
The same way you do for other users... uzzled:

Perhaps you need to spell out your situation...

You have two linux machines and they are able to access a network which includes a win2000 server and an unspecified number of windows machines.

An undisclosed number of these machines, and/or/including, the server itself, are sharing one or more directories via a windows network (SMB). Presumably, fat linux clients are able to access these shares, in an unspecified way, using samba.

One machine is an existing LTSP server - so you have an unspecified number of thin clients.

You would like the linux thin clients to be able to access the smb shares on the windows network?

http://www.ltsp.org/twiki/bin/view/Ltsp/WebHome
http://wiki.ltsp.org/twiki/bin/view/Ltsp/Documentation

heres the deal..let me put it in very simple words..

want to add users of linux machine A to SAMBA running on linux machine B

how do i do that?

suppose machine A has user "sam"

on machine B i tried command

$ smbpasswd -a sam

but it says

failed to modify passwd for user sam
 
Old 05-04-2008, 08:42 PM   #8
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,748
Blog Entries: 4

Rep: Reputation: 3965Reputation: 3965Reputation: 3965Reputation: 3965Reputation: 3965Reputation: 3965Reputation: 3965Reputation: 3965Reputation: 3965Reputation: 3965Reputation: 3965
There are several ways to "do authentication." The simplest way is to have individual nothing-in-common with-any-other-machine password files, but it is quite common for both Windows and Linux machines (and therefore, Samba file-shares) to rely upon an external, centrally-managed authentication source e.g. LDAP (Active Directory), Kerberos, and RADIUS. (All different.)

Or for that matter... a Windows domain-controller.

Start by reviewing the Samba documentation on authentication methods. Also read about the PAM (Pluggable Authentication Modules) system in Linux. In large installations, what you are seeking to do is actually quite routine.

Also note: there is no "best way" in this arena. Linux's objective is to "blend in," to whatever authentication mechanism is the shop standard.
 
  


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
NFS problem: "Could not chdir to home directory /home/USER: Permission denied" sumanc Linux - Server 4 07-22-2010 04:12 PM
Active Directory User Cannot Write to Samba Home Directory jonwatson Linux - Networking 2 12-19-2006 12:40 PM
accessing home directory on win200X machine from linux client bschneider Linux - Networking 4 10-22-2004 07:56 AM
need help setting up ftp user accounts and directory structures aikym1 Linux - Newbie 4 07-19-2004 03:17 PM

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

All times are GMT -5. The time now is 11:53 PM.

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