Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 441
  • Last Modified:

synchronize user accounts from one samba domain to another samba server

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
loser1
Asked:
loser1
  • 2
1 Solution
 
Alf666Commented:
Your second samba server should be a BDC of your first one (the PDC).

It works exactly the same as in windows.
0
 
loser1Author Commented:
yes, but how to i replicate the smbpasswd from samba server 1 to samba server 2
0
 
Alf666Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now