Displaying 20 results from an estimated 4000 matches similar to: "systemd unit to start Samba as AD DC"
2016 Jul 12
6
Option configure
Just backported 4.4.5 from debian sid to jessie. samba.service is masked
there. If running as an fileserver the services are started via
smbd.service,nmbd.service, winbind.service.
There is an samba-ad-dc script which is masked by default.
To get the ad-dc up and running with systemd one has to unmask
samba-ad-dc.service and mask smbd.service,nmbd.service, winbind.service.
This is the
2016 Jul 12
1
Option configure
Am 12.07.2016 um 21:35 schrieb Rowland penny:
> On 12/07/16 20:25, Achim Gottinger wrote:
>> Just backported 4.4.5 from debian sid to jessie. samba.service is
>> masked there. If running as an fileserver the services are started
>> via smbd.service,nmbd.service, winbind.service.
>> There is an samba-ad-dc script which is masked by default.
>> To get the ad-dc up
2019 Apr 26
2
Managing samba ad dc with systemd
Rowland,
I was thinking if I did anything wrong, but your clarification cleared my
mind. I appreciate your help.
I'm waiting if other person had a same issue and solved it.
Thanks a lot for your help,
Igor Sousa
On Fri, Apr 26, 2019, 13:26 Rowland Penny via samba <samba at lists.samba.org>
wrote:
> On Fri, 26 Apr 2019 13:02:07 -0300
> Igor Sousa <igorvolt at gmail.com>
2019 Nov 21
3
Issue with "ExecStartPost" attribute in systemd daemon faile
Hello,
I'm trying to configure a daemon (I'm doing tests with "crond" daemon) to send me an email after daemon restart. My "crond.service" file is:
# /etc/systemd/system/crond.service
[Unit]
Description=Command Scheduler
After=auditd.service systemd-user-sessions.service time-sync.target
#OnFailure=crond-notify-email@%i.service
[Service]
2018 Jan 10
2
Issues accessing ZFS-shares on Linux
I just noticed that by running by commands /usr/sbin/smbd -D or
/usr/sbin/smbd -i without systemd's unit, all shares work perfectly so
the problem must then be somehow related to systemd.. Let the testing
continue..
I also tested what happens if I comment out everything and just use
ExecStart=/usr/sbin/smbd -D as that command worked on the console. That
did not help.
For the record, this is
2019 Nov 22
1
Issue with "ExecStartPost" attribute in systemd daemon faile
Hellos,
Yes, I did some tests with "OnFailure" attribute, but the result was the same: system didn't sent any mail.
Daemon and script files were:
* crond.service:
* [Unit]
Description=Command Scheduler
After=auditd.service systemd-user-sessions.service time-sync.target
OnFailure=crond-notify-email.service
[Service]
EnvironmentFile=/etc/sysconfig/crond
2017 Jun 20
1
[4.2.14-Debian] Smbd not listening on 192.168.0.x on cold start
Hai,
Really, you dont need to edit the systemd files.
Try first with only the interface change.
Then if you still need to edit the systemd files.
You need these settings, but i dont thing you need it after the interface change.
cat /lib/systemd/system/smbd.service
[Unit]
Description=Samba SMB Daemon
Documentation=man:smbd(8) man:samba(7) man:smb.conf(5)
After=network.target nmbd.service
2017 Mar 14
3
Relaiable ssh tunnel via systemd
We try to run a reliable ssh tunnel vis systemd.
This is the unit configuration file:
{{{
[Unit]
Description=Tunnel For %i
After=network.target
[Service]
User=autossh
ExecStart=/usr/bin/ssh -o "ExitOnForwardFailure yes" -o "ServerAliveInterval 60" -N -R 40443:installserver:40443 -R
8080:installserver:8080
ExecStartPre=-/usr/bin/ssh tunnel@%i "for pid in $$(ps -u
2016 Apr 02
2
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
2017 May 04
2
running tomcat as non-root user.. (/var/run pidfile issue)
hey folks, we are migrating our tomcat setup over to centos 7. Im
converting init-scripts over to systemd services and whatnot.. One thing
that Ive noticed is that my systemd startup script cant seem to write to
/var/run as a non-root user to drop a pidfile.. If I create a directory
in /var/run owned by my user, it gets wiped out on reboot.
Ive searched and found this
2016 Apr 02
0
Upgrading Samba 3 to Samba 4 - Domain Controller unreachable
On Sat, Apr 2, 2016 at 4:05 PM, Rowland penny <rpenny at samba.org> wrote:
> 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.
At first I felt the same way but the service files are starting to
seem simpler. Yes,
2020 Sep 28
2
Debian Buster Samba 4.13 online (amd64/i386/armhf )
Hai,
?
Debian Buster Samba 4.13 is now online on my repo.
Info : https://apt.van-belle.nl/
With the release of 4.13 the following changes are going to happen in the repo's.
Current (recently sended?list)
OS-sambaXXXX with EOL wont be supported anymore, upgrade your OS and/or Samba versions!
EOL repo's will stay online for about 6 months, that gives sufficient time to upgrade.
2019 Nov 21
0
Issue with "ExecStartPost" attribute in systemd daemon faile
Gesti? Servidors wrote:
>
> Hello,
>
> I'm trying to configure a daemon (I'm doing tests with "crond" daemon) to send me an email after daemon restart. My "crond.service" file is:
> # /etc/systemd/system/crond.service
> [Unit]
> Description=Command Scheduler
> After=auditd.service systemd-user-sessions.service time-sync.target
>
2019 Nov 22
0
Issue with "ExecStartPost" attribute in systemd daemon fail
Hi,
it seems there is no difference in "systemctl status crond"
:(
El 22/11/2019 a las 13:00, centos-request at centos.org<mailto:centos-request at centos.org> escribi?:
Message: 3
Date: Thu, 21 Nov 2019 14:41:25 +0100
From: Leon Fauster <leonfauster at googlemail.com><mailto:leonfauster at googlemail.com>
To: centos at centos.org<mailto:centos at centos.org>
2017 Jun 19
5
[4.2.14-Debian] Smbd not listening on 192.168.0.x on cold start
So it looks like the init script in the Samba package in the Debian
repository needs to be edited for a non-DC home server.
--
View this message in context: http://samba.2283325.n4.nabble.com/4-2-14-Debian-Smbd-not-listening-on-192-168-0-x-on-cold-start-tp4720131p4720160.html
Sent from the Samba - General mailing list archive at Nabble.com.
2018 Aug 21
2
openssh 7.6 and 7.7 on Oracle Linux 7 (compiled from source) doesn't start correctly with systemd
Latest Oracle Linux (7.5) and openssh 7.4 is bundled as an rpm. this runs
fine. if I download openssh 7.6 or 7.7, compile it with the flags
--with-pam and --with-pid-dir=/var/run and install it to /usr/local, modify
the sshd.service file to point to /usr/local/sbin/sshd, the start hangs.
The sshd.service files looks like this:
[Unit]
Description=OpenSSH server daemon
Documentation=man:sshd(8)
2016 Jul 12
0
Option configure
On Tue, Jul 12, 2016 at 3:25 PM, Achim Gottinger <achim at ag-web.biz> wrote:
> This is the samba-ad-dc.service script:
Pretty similar to my samba.service script:
===================================
[Unit]
Description=Samba AD server
After=network.target
[Service]
Type=forking
PIDFile=/usr/local/samba/var/run/samba.pid
LimitNOFILE=16384
ExecStart=/usr/local/samba/sbin/samba
2016 Jul 12
2
Option configure
I have no /etc/default/samba file.
If you run an ad-dc use samba-ad-dc.service, if not use the smbd, nmbd
and winbind service files and not the samba.service.
Am 12.07.2016 um 22:01 schrieb Sonic:
> On Tue, Jul 12, 2016 at 3:25 PM, Achim Gottinger <achim at ag-web.biz> wrote:
>> This is the samba-ad-dc.service script:
> Pretty similar to my samba.service script:
>
2016 Jul 12
2
Option configure
Does your PIDFile exist?
systemd should use that if defined and exiting.
https://lists.freedesktop.org/archives/systemd-devel/2013-February/009201.html
Am 12.07.2016 um 22:01 schrieb Sonic:
> On Tue, Jul 12, 2016 at 3:25 PM, Achim Gottinger <achim at ag-web.biz> wrote:
>> This is the samba-ad-dc.service script:
> Pretty similar to my samba.service script:
>
2017 Sep 27
2
Fedora 27 rawhide, samba needs a restart to launch krb5kdc
On Tue, 26 Sep 2017 20:19:03 +0200
Marc Muehlfeld <mmuehlfeld at samba.org> wrote:
> Hi,
>
> As you said: It's Fedora 27 _rawhide_. You should report a bug:
> https://bugzilla.redhat.com/
> Please don't forget to attach logs, etc.
Ok, I just opened a bug over there. But in the meantime found out that:
Systemctl status samba.service shows the following as well: