Rowland penny
2016-Apr-02 18:34 UTC
[Samba] Upgrading Samba 3 to Samba 4 - Domain Controller unreachable
On 02/04/16 19:21, Sonic wrote:> On Sat, Apr 2, 2016 at 2:07 PM, Luke Barone <lukebarone at gmail.com> wrote: >> When I use systemctl start nmbd smbd I get no >> output. > Actually that's good - it means it worked - starting both nmbd and > smbd. And it's the proper way to run these services (since you're > using systemd).Wrong On debian there is a script called samba in /etc/init.d , it starts smbd & nmbd *or* samba, if it doesn't find 'server role = active directory domain controller' in smb.conf , it doesn't try to start the samba deamon.
Sonic
2016-Apr-02 19:59 UTC
[Samba] Upgrading Samba 3 to Samba 4 - Domain Controller unreachable
On Sat, Apr 2, 2016 at 2:34 PM, Rowland penny <rpenny at samba.org> wrote:> On debian there is a script called samba in /etc/init.d , it starts smbd & > nmbd *or* samba, if it doesn't find 'server role = active directory domain > controller' in smb.conf , it doesn't try to start the samba deamon.Odd that they do that when in the default mode (using systemd). Apparently makes for more backward compatibility. However, the systemctl start and stop commands still work for nmbd and smbd (of course, as running the samba init file calls systemctl). As I compiled Samba from source it was certainly easier to write the service files then attempting the complexity of the init files.
Rowland penny
2016-Apr-02 20:05 UTC
[Samba] Upgrading Samba 3 to Samba 4 - Domain Controller unreachable
On 02/04/16 20:59, Sonic wrote:> On Sat, Apr 2, 2016 at 2:34 PM, Rowland penny <rpenny at samba.org> wrote: >> On debian there is a script called samba in /etc/init.d , it starts smbd & >> nmbd *or* samba, if it doesn't find 'server role = active directory domain >> controller' in smb.conf , it doesn't try to start the samba deamon. > Odd that they do that when in the default mode (using systemd). > Apparently makes for more backward compatibility. However, the > systemctl start and stop commands still work for nmbd and smbd (of > course, as running the samba init file calls systemctl). > > As I compiled Samba from source it was certainly easier to write the > service files then attempting the complexity of the init files.I compile Samba myself and I use init files, I would rather have them than the bloat systemd comes with. They are not complex if you understand bash and are a lot easier to understand than all that systemd comes with. A rabid systemd hater Rowland
Apparently Analagous Threads
- Question Wiki Setup a Samba Active Directory Domain Controller
- ctdb event script 50.samba does not start smbd
- Question Wiki Setup a Samba Active Directory Domain Controller
- Upgrading Samba 3 to Samba 4 - Domain Controller unreachable
- CTDB: Failed to connect client socket to daemon.