Solved

synchronize user accounts from one samba domain to another samba server

Posted on 2004-04-07
3
435 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 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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

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…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

623 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