[Samba] Samba on Debian 8: ADS domain questions

L.P.H. van Belle belle at bazuin.nl
Wed Dec 14 12:58:49 UTC 2016


Hi Stephan, 

I commented inbetween. 

> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens Stefan G.
> Weichinger via samba
> Verzonden: woensdag 14 december 2016 13:19
> Aan: samba at lists.samba.org
> Onderwerp: Re: [Samba] Samba on Debian 8: ADS domain questions
> 
> Am 2016-12-14 um 12:26 schrieb L.P.H. van Belle via samba:
> > Hai,
> >
> > Thats a setup i really dont advice. Should work, but expect problems.
> 
> Why?

Due to somethings getting connection errors which can cause authentication problems en/or problems with starting other services. 

> 
> > You can happy run both in VMs.
> > Can you explain maybe why your setting up like this,
> > so we can maybe help you to get a better setup?
> 
> Because current status is:
> 
> samba4.x as NT4-DC on physical Gentoo-server, plus acting as main file
> server for that site
> 
> that same server provides KVM virtualization for one or two production vms
> 
> we would like to solve this without adding another physical machine
Ah ok, then in your case what i would do. 
Im using Xen server, http://www.tecmint.com/xenserver-physical-to-virtual-migration/
 
or KVM/QEMU example. 

http://manuel.kiessling.net/2013/03/19/converting-a-running-physical-machine-to-a-kvm-virtual-machine/

setup a test pc import te vm test test, all ok. Export it again.
Reinstall the server for dedicated KVM server and import the tested vm again. 

Hope this helps out a but. 

Xen server is free and if you have 2 server with same architectures ( amd or intel ) you get live motion for free. (http://xenserver.org/)
Which is very very handy if you have 2 or more servers. 
And you have 2 servers..  .. 
And then in your case 2 server. Run 3 (or 4) VM's. 
2 x DC. ( one per phisical server ) 

1 x member, one per phisical.
1 x test server. 

But it just a suggestion here. 

> 
> -
> 
> test-DC in a virtualbox VM on my laptop, Debian linux, working so far
> with test VMs
> 
> * scenario one would be: upgrade physical samba4 to ADS
> 
> - no way to switch back to NT4 domain if things go wrong for the first
> PCs we switch on ... // if things go smooth, fine, if not, we would like
> to stop migration after the first tests ... (only switch on 2 or 3 PCs
> and test things first)
> 
> - uncertainty if samba on Debian behaves like samba on Gentoo. Think
> other dependencies, other kerberos, other package versions
Make it yourself easy, get my debian 8 samba packages, im testing these now for about a week and until now i havent seen any errors. 
Found here:  http://downloads.van-belle.nl/samba4/ 
In the samba-4.5.2 folder is an very easy installer, start it, it explains itself. 

Im expecting to put these packages in about 1-2 weeks in my apt repo. 

> 
> - and we would like to gradually switch over to Debian, so that would be
> a step in that direction.
> 
> I have a backup server (=2nd physical server) there as well, which could
> also become the new DC. Might be the better option than the VM, it is
> Debian as well ...

> 
> And the "main" file server could become a 2nd DC as Rowland recommended?
> That server would have to provide shares as well, though.

I would suggest keep the main file server but set it up as member. 
Copy the db files to the new DC and upgrade there. 
Keeps you old server intact, and you can test outside your production network.



> 
> thanks all, Stefan
> 
> 
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba


This is my disk for my DC, you dont need much.
Filesystem                                    Size  Used Avail Use% Mounted 
/dev/xvda1                                    6.0G 1002M  4.7G  18% /
And i run my DC's with 2Gb ram, dut i dont have a big AD.
I do run about 10 servers here agains 2 dc's.

Hope this helps you out. 


Greetz, 

Louis





More information about the samba mailing list