[Samba] need soms tips for adding samba4 to windows 2008R2 domain

Marc Muehlfeld samba at marc-muehlfeld.de
Wed Jul 17 12:51:18 MDT 2013


Am 17.07.2013 11:29, schrieb L.P.H. van Belle:
>> Am 15.07.2013 12:48, schrieb L.P.H. van Belle:
>>> 1) keep my existing windows 2008 domain.  ( contains dhcp +
>> dns + AD )
>>>       its a clean domain, no users yet. dhcp+dns is used already.
>>> 2) add samba4 to the windows domain dc as  secondairy DC.
>>>       ( this server wil be my zarafa mail server )
>> Setup and joining a Samba machine as DC you can find here:
>> http://wiki.samba.org/index.php/Samba4/HOWTO/Join_a_domain_as_a_DC
> This step, Im using bind, i already have windows setup to replicate the DNS to some other linux servers.
> can i just point samba to the windows server, or can i use the replicated dns, or
> do i need to setup the dns completely also for samba.
> Thats not clear in the howto.
> because this howto points to : http://wiki.samba.org/index.php/Samba4/HOWTO/Join_a_domain_as_a_DC
> ( im using the enterprise samba packages on ubuntu 12.04 )
> and http://wiki.samba.org/index.php/Dns-backend_bind

I haven't used a Windows server yet. But if the DNS zone is stored in 
AD, then the directory replication will replicate it to your Samba 
server, too. But of course you have to run a DNS on your Samba server, 
too (the internal or BIND DLZ).

> Realy, im sorry to say, but for me the wiki is a maze of information.
> to much referendes to other locations.
> the, im pointed to  http://wiki.samba.org/index.php/Samba4/HOWTO/Join_a_domain_as_a_DC
> there i read.

What exactly confuses you. Then maybe I can unravel it.
Sure, there are references to other HowTos. Otherwise we had to write 
the same content in different HowTos again and again. And every change 
had to be done on all places.

But if you have good suggestions I can try to do improvments and changes 
the HowTos.

> This HOWTO will assume you had configured and installed Samba in the default location of /usr/local/samba.
> It assumes you are joining Samba to an existing domain called 'samdom.example.com'.

What is the problem with that? Because you can configure to have Samba 
and parts of it whereever you want (as ./configure options), 
/usr/local/samba is just the default location where Samba is installed 
in, if you don't do any changes on ./configure.

For a tutorial it's best to use the default locations. Just adapt the 
pathes to your environment. And samdom.example.com is just a sample 
realm we use in our wiki HowTos. Replace it with your own one.

>>> Question here is, do i need the registry fixes for windows 7, if my
>>> windows 2008 DC if domain controller.
>> No registry changes, if your Domain is provided by Windows or
>> Samba AD.
>> I have read that it's necessary for a Samba NT4 style domain
>> only. But I
>> haven't used a Samba PDC with Win7 yet myself (only Samba AD).
> I have some win7 on the NT4 style domain, but i didnt use any registry fixed.

If it's working fine without any fixes, where's the problem? ;-)


More information about the samba mailing list