Solved

synchronize user accounts from one samba domain to another samba server

Posted on 2004-04-07
3
432 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
  • 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 500 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
url shaping application 8 59
Install dhcp server on Ubuntu server 4 76
centos7 firewalld udp ports 33 78
High Bandwidth Usage 6 75
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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

829 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