Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

synchronize user accounts from one samba domain to another samba server

Posted on 2004-04-07
3
Medium Priority
?
436 Views
Last Modified: 2010-05-18
I have created a samba domain for windows clients to login. But i was wondering if anyone knows how to synchronize the user account and samba passwords to another samba server like active directory as follow:

samba server 1 ---> samba server 2

if a user is created in samba server 1, the same user detail including the samba server would be replicated or synchronize to samba server 2

thx in advance
0
Comment
Question by:loser1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 9

Expert Comment

by:Alf666
ID: 10773691
Your second samba server should be a BDC of your first one (the PDC).

It works exactly the same as in windows.
0
 

Author Comment

by:loser1
ID: 10779829
yes, but how to i replicate the smbpasswd from samba server 1 to samba server 2
0
 
LVL 9

Accepted Solution

by:
Alf666 earned 1500 total points
ID: 10780081
Your best shot is using LDAP as a user credentials storage.

The smbpasswd replication is not a good method because it needs to work both ways.

You can have a single LDAP server to which both the PDC and the BDC request infos, or, you can also set up LDAP replication in between a master and a slave. This is the best config.

For more information, I suggest reading the following page :

http://us1.samba.org/samba/docs/man/samba-bdc.html

It describes the different options in detail including pros and cons.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

661 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question