[Samba] Copy Users and Groups to another DC

Thomas Harold thomas-lists at nybeta.com
Thu Jan 16 05:58:35 MST 2014


On 1/14/2014 8:51 PM, Ezequiel Celiz wrote:
> Hi folks
>
> I have a question,
>
> I have a WINDOWS 2008 SERVER R2 domain with all users and groups.
> I need to have all these objects in my new Samba4 domain.
> I created a test server and I joined this to the Windows 2008 R2 AD.
>
> then:
> samba-tool user list
> I list all users that exist in Windows 2008 AD.
>
> My Samba4 AD has another realm name.
> I can copy those users and groups to my new AD Samba4 having another realm
> name?

That sounds like you "provisioned a new AD realm/domain" with Samba4 
instead of "joining as a DC" to the existing domain.

https://wiki.samba.org/index.php/Samba4/HOWTO/Join_a_domain_as_a_DC

You'll have to redo your Samba4 AD server, this time joining it as a DC 
to the existing Win2008R2 domain.


More information about the samba mailing list