L.P.H. van Belle
2019-Dec-20 13:41 UTC
[Samba] Upgrading from Debian Stretch to Buster, Van Belle package
For a AD-DC on systemctl start samba-ad-dc For a member : systemctl start smbd winbind (and optional nmbd)> -----Oorspronkelijk bericht----- > Van: Lmloge [mailto:lmloge at orange.fr] > Verzonden: vrijdag 20 december 2019 14:10 > Aan: L.P.H. van Belle > CC: samba at lists.samba.org > Onderwerp: Re: [Samba] Upgrading from Debian Stretch to > Buster, Van Belle package > > Hello, > > # systemctl stop bind9 > <empty> > > # systemctl stop samba > Failed to stop samba.service: Unit samba.service not loaded. > > How should I stop samba? > > Best regards, > -- > L?a > >
Lmloge
2019-Dec-20 14:20 UTC
[Samba] Upgrading from Debian Stretch to Buster, Van Belle package
Thank you Louis. # systemctl stop samba-ad-dc # systemctl stop bind9 # ps aux | egrep "samba|nmbd|smbd|winbind" <empty> # ps aux | egrep "bind|named" <empty> In "/etc/bind/named.conf.local" I uncommented: include "/var/lib/samba/private/named.conf"; # systemctl start bind9 # systemctl start samba-ad-dc They started properly with no error. Now I guess I have to upgrade Samba version 4.10.11 to version 4.11 (buster-samba411)... Best regards, -- L?a
L.P.H. van Belle
2019-Dec-20 14:23 UTC
[Samba] Upgrading from Debian Stretch to Buster, Van Belle package
Hai, Great, yes, you now ready for the upgrade to 4.11 Good luck, now im getting my beer. ;-) Bit ahead, but MERRY CHRISTMAS.. ! Greetz, Louis> -----Oorspronkelijk bericht----- > Van: Lmloge [mailto:lmloge at orange.fr] > Verzonden: vrijdag 20 december 2019 15:21 > Aan: L.P.H. van Belle > CC: samba at lists.samba.org > Onderwerp: Re: [Samba] Upgrading from Debian Stretch to > Buster, Van Belle package > > Thank you Louis. > > # systemctl stop samba-ad-dc > # systemctl stop bind9 > # ps aux | egrep "samba|nmbd|smbd|winbind" > <empty> > # ps aux | egrep "bind|named" > <empty> > > In "/etc/bind/named.conf.local" > I uncommented: > include "/var/lib/samba/private/named.conf"; > > # systemctl start bind9 > # systemctl start samba-ad-dc > > They started properly with no error. > > Now I guess I have to upgrade Samba version 4.10.11 to version 4.11 > (buster-samba411)... > > Best regards, > -- > L?a > >
Lmloge
2019-Dec-20 15:08 UTC
[Samba] Upgrading from Debian Stretch to Buster, Van Belle package
Hello Louis, If I may, can you bear with me a bit longer? I have two machines MACHINE_1 and MACHINE_2 at two different geographical places. Both are now running Samba version 4.11.4-Debian. Thanks a lot for that! On MACHINE_1, two years ago I did: # samba-tool domain provision --use-rfc2307 --domain=<DOMAINAME> --realm=<REALM> --dns-backend=BIND9_DLZ --adminpass=<PASSWORD> On MACHINE_2, I did: # samba-tool domain join <DOMAINAME> DC -UAdministrator --realm=<REALM> --dns-backend=BIND9_DLZ --option="idmap_ldb:use rfc2307 = yes" --server=<MACHINE_1> so that Sambas servers are synchronized. To check that they are synchronized and synchronizing properly, I run on both machines: # wbinfo -u The results should be identical. On MACHINE_1, I get a list. On MACHINE_2, I get nothing... Best regards, -- L?a