A sort of digest reply... RPvs> Not sure, what is a samba4/adc ??? RPvs> Or do you mean a 'Has anybody joined a Samba DC on Ubuntu 18.04' ? Yes, doing an active directory controller [ADC] not just a workgroup-share. [Though, not "joining" a DC already in existance, but creating a new AD setup.] RPvs> If so, then yes and it was hell What exactly was hellish about it? Is it your opinion I should use something else, compile from source, or what? Did you get it to work satisfactorily eventually? [I know you're a long-time list contributor, so I'm very interested in your thoughts.] --->What do you need, yes i have compiled a whole samba ad dc structur with 18.04.I have compiled Samba4 on Ubuntu from source before, but I'd really like to avoid doing that. It seems like a reasonable trade-off to sacrifice some lack of features [using an older version] for having Ubuntu maintain security patches etc. On that note, I'm not totally wed to Ubuntu/Debian. Is there some LTS [long-term-support] distro that's dramatically better? --->Its not 100% ubuntu, but these should work also on ubuntu. https://github.com/thctlo/samba4/tree/master/howtosThanks. I'll look at that. I'm not sure how much help it's going to be, as there are some, it appears, significant differences between Ubuntu 16.04 and 18.04. Thus, a how-to that isn't specific to 18.04 may not be that useful, as it will not have the detail needed to avoid the pitfalls of 18.04. And while I can probably work through all the new oddities, I was hoping that someone else would have already done so and would be willing to share. Thanks all for the initial tips. -Greg
I installed two samba ad in replication. One fileserver (domain member) and printserver (domain member). I built a CTDB cluster with it. All are running on Ubuntu 18.04 LTS! On the AD Server i got a problem with the internal DNS from samba because systemd-resolver thought it is the DNS boss now. I disabled systemd-resolve (systemctl disable systemd-resolved.service) and mange the resolve.conf manually. Some tips before you install samba: - If not needed uninstall "cloud init" (some trouble with setting hostname and /etc/hosts file): # https://makandracards.com/operations/42688-how-to-remove-cloud-init-from-ubuntu - If youre using ntp, disable systemd's timesyncd service (ntp service will now start after reboot) # timedatectl set-ntp off Please notice, in Ubuntu 18.04 stable not in BETA version, now a "swap.img" is mounted in "/" . No swap partition anymore! In my opinion samba is ready for Ubuntu 18.04. Regards PS: All server were compiled from source, except the ctbd cluster, i used the repository (samba 4.7.6) Am 08.05.2018 um 15:52 schrieb Gregory Sloop via samba:> A sort of digest reply... > > RPvs> Not sure, what is a samba4/adc ??? > RPvs> Or do you mean a 'Has anybody joined a Samba DC on Ubuntu 18.04' ? > Yes, doing an active directory controller [ADC] not just a workgroup-share. > [Though, not "joining" a DC already in existance, but creating a new AD setup.] > > RPvs> If so, then yes and it was hell > What exactly was hellish about it? > Is it your opinion I should use something else, compile from source, or what? > Did you get it to work satisfactorily eventually? > > [I know you're a long-time list contributor, so I'm very interested in your thoughts.] > --- > >> What do you need, yes i have compiled a whole samba ad dc structur with 18.04. > I have compiled Samba4 on Ubuntu from source before, but I'd really like to avoid doing that. It seems like a reasonable trade-off to sacrifice some lack of features [using an older version] for having Ubuntu maintain security patches etc. > > On that note, I'm not totally wed to Ubuntu/Debian. Is there some LTS [long-term-support] distro that's dramatically better? > > --- > >> Its not 100% ubuntu, but these should work also on ubuntu. https://github.com/thctlo/samba4/tree/master/howtos > Thanks. I'll look at that. I'm not sure how much help it's going to be, as there are some, it appears, significant differences between Ubuntu 16.04 and 18.04. Thus, a how-to that isn't specific to 18.04 may not be that useful, as it will not have the detail needed to avoid the pitfalls of 18.04. > > And while I can probably work through all the new oddities, I was hoping that someone else would have already done so and would be willing to share. > > Thanks all for the initial tips. > > -Greg >
On Tue, 8 May 2018 06:52:56 -0700 Gregory Sloop via samba <samba at lists.samba.org> wrote:> A sort of digest reply...See inline comments:> > RPvs> Not sure, what is a samba4/adc ??? > RPvs> Or do you mean a 'Has anybody joined a Samba DC on Ubuntu > RPvs> 18.04' ? > Yes, doing an active directory controller [ADC] not just a > workgroup-share. [Though, not "joining" a DC already in existance, > but creating a new AD setup.]We just call them a DC> > RPvs> If so, then yes and it was hell > What exactly was hellish about it? > Is it your opinion I should use something else, compile from source, > or what? Did you get it to work satisfactorily eventually?I had to fight with the OS and yes, I did get it to work.> On that note, I'm not totally wed to Ubuntu/Debian. Is there some LTS > [long-term-support] distro that's dramatically better?The problem with LTS distros is just that, they have long term support for the packages they originally come with, in this instance, Samba 4.7.6 . By the time 18.04 goes EOL, Samba could be near version 6. I normally use Devuan and you can use Louis's packages with this (or Debian, if you can put up with systemd) ;-) Rowland
On Tue, 8 May 2018 16:25:16 +0200 Micha Ballmann via samba <samba at lists.samba.org> wrote:> I installed two samba ad in replication. One fileserver (domain > member) and printserver (domain member). I built a CTDB cluster with > it. All are running on Ubuntu 18.04 LTS! > > On the AD Server i got a problem with the internal DNS from samba > because systemd-resolver thought it is the DNS boss now. I disabled > systemd-resolve (systemctl disable systemd-resolved.service) and > mange the resolve.conf manually.Yes, that was one of the problems I ran into> > Some tips before you install samba: > > - If not needed uninstall "cloud init" (some trouble with setting > hostname and /etc/hosts file): > > # > https://makandracards.com/operations/42688-how-to-remove-cloud-init-from-ubuntu > > - If youre using ntp, disable systemd's timesyncd service (ntp > service will now start after reboot)Didn't have that problem, it just worked for me.> > # timedatectl set-ntp off > > Please notice, in Ubuntu 18.04 stable not in BETA version, now a > "swap.img" is mounted in "/" . No swap partition anymore!AAAGGGHH, you are correct, except I have a swapfile, what idiot thought that up ???> > In my opinion samba is ready for Ubuntu 18.04.Yes, but is Ubuntu 18.04 ready for Samba ? :-) Rowland
Ah.. I just try my base setup, i did not get passed /vmlinux not found. At the start of the install screen, same as ever with ubuntu... Ubuntu does not like my install options.. Try this.. Put in the CD. Boot, at the first screen, Press F4, choose Minimal installation. press F6, choose Expert mode. Now try to boot. That Failed for me.. vmlinux not found. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Rowland Penny via samba > Verzonden: dinsdag 8 mei 2018 16:52 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] Samba4 on Ubuntu 18.04 > > On Tue, 8 May 2018 16:25:16 +0200 > Micha Ballmann via samba <samba at lists.samba.org> wrote: > > > I installed two samba ad in replication. One fileserver (domain > > member) and printserver (domain member). I built a CTDB cluster with > > it. All are running on Ubuntu 18.04 LTS! > > > > On the AD Server i got a problem with the internal DNS from samba > > because systemd-resolver thought it is the DNS boss now. I disabled > > systemd-resolve (systemctl disable systemd-resolved.service) and > > mange the resolve.conf manually. > > Yes, that was one of the problems I ran into > > > > > Some tips before you install samba: > > > > - If not needed uninstall "cloud init" (some trouble with setting > > hostname and /etc/hosts file): > > > > # > > > https://makandracards.com/operations/42688-how-to-remove-cloud > -init-from-ubuntu > > > > - If youre using ntp, disable systemd's timesyncd service (ntp > > service will now start after reboot) > > Didn't have that problem, it just worked for me. > > > > > # timedatectl set-ntp off > > > > Please notice, in Ubuntu 18.04 stable not in BETA version, now a > > "swap.img" is mounted in "/" . No swap partition anymore! > > AAAGGGHH, you are correct, except I have a swapfile, what > idiot thought > that up ??? > > > > > In my opinion samba is ready for Ubuntu 18.04. > > Yes, but is Ubuntu 18.04 ready for Samba ? :-) > > Rowland > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
MBvs> On the AD Server i got a problem with the internal DNS from samba MBvs> because systemd-resolver thought it is the DNS boss now. I disabled MBvs> systemd-resolve (systemctl disable systemd-resolved.service) and mange MBvs> the resolve.conf manually. Thanks a bunch for that tip. I was having DNS issues, but hadn't yet gotten to the bottom of it, and this turned out to be the cause of one of my major issues. Thanks again!!! MBvs> Some tips before you install samba: MBvs> - If not needed uninstall "cloud init" (some trouble with setting MBvs> hostname and /etc/hosts file): I've left cloud init active and seem to be able to set the hostname fine. Am I missing something - or is cloud init a. more or less, minor issue? MBvs> # MBvs> https://makandracards.com/operations/42688-how-to-remove-cloud-init-from-ubuntu MBvs> - If youre using ntp, disable systemd's timesyncd service (ntp service MBvs> will now start after reboot) MBvs> # timedatectl set-ntp off I think I've already got this set. All in all, very helpful info. I haven't had a lot of time to tinker today, so we'll see how far I get tomorrow. I'm very grateful for all the pointers, but special thanks for Micha! [And, not wanting to start any flame-wars here but, I'm not so thrilled about systemd either. But I'll probably have to learn to live with it.] -Greg