LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-06-2008, 06:43 AM   #1
luzyS
LQ Newbie
 
Registered: Apr 2008
Posts: 3

Rep: Reputation: 0
need help = sync samba - user and password


Hi guys..

I had installed two samba server which is Linux1 is my PDC and Linux2 is just for sharing propose. And I have windows client logon to Linux1.

My problem is how can I sync this user logon for second server (Linux2),so i do not have to logon again on Linux2.


Thanks..

luzyS
 
Old 06-06-2008, 08:49 AM   #2
Uxinn
Member
 
Registered: May 2008
Location: Iceland
Distribution: Ubuntu Hardy
Posts: 47

Rep: Reputation: 16
There are many ways to do this

Make samba authenticate over ActiveDirectory ( windows domain )
Or LDAP
Or NIS

You could also use samba authentication and keep the samba passwd file in synch between machines using something like rsync I guess.

You can even setup a samba server as a domain controloer and second samba server then be a secondary domain server..

Sorry I can't be more exact, don't know much about your environment.

You should find good guides for implementing all on the net
 
Old 06-06-2008, 09:38 AM   #3
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
I don't think the OP is asking about having common credentials on all the systems, but rather not having to enter the credentials when connecting from Linux2 to Linux1 the first time.

This may happen if one uses a domain controller, or ldap or AD for login authentication.
I'm not certain however.

Why recommend a home user run an AD server? I doubt they would want to pay thousands of dollars a year for the license.
( Unless not logging in the first time one connects to a server is worth it to the OP. )

Last edited by jschiwal; 06-06-2008 at 09:39 AM.
 
Old 06-06-2008, 10:09 AM   #4
luzyS
LQ Newbie
 
Registered: Apr 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Hi guys...


Thanks for the reply..

I may give a wrong explanation.. (sorry my bad english)

Lets me explain one more time..

1. I already have Samba server working fine with PDC and proxy installed (called Linux1). I've no problem on these server as windows client can login (domain) and access teh files.

2. At the same time I want to add another Samba server to keep my account data (which i called Linux2). These server also work fine. I can see both server in 'Windows Network' and I can logon via windwos client with password supplied.

3. My question: Is it possible for me to logon to linux1 (domain) and at the same time can access Linux2 without re-enter password.

Thanks

luzyS
 
Old 06-07-2008, 12:07 AM   #5
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
You'll probably need to read through the "Samba 3 HOWTO & Reference Guide" book which may be available from a samba-doc package. Perhaps if the second Linux server is a backup domain controller it will work.
 
  


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
samba(global security=user) useful tools for client.ex: user change password. hocheetiong Linux - Newbie 1 03-18-2008 10:20 AM
Samba - Linux Password Sync with LDAP rbulman Linux - Networking 1 10-26-2006 06:56 AM
sync ldap and samba password with ldappasswd paul_mat Linux - Networking 2 11-21-2005 11:55 PM
NIS & Samba Password Sync? airrr Linux - Networking 0 08-14-2003 09:51 AM
samba Password sync saavik Linux - Networking 0 08-11-2003 07:30 AM


All times are GMT -5. The time now is 03:36 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration