Displaying 20 results from an estimated 58 matches for "notifyaccess".
2016 Jul 12
6
Option configure
...nd running with systemd one has to unmask
samba-ad-dc.service and mask smbd.service,nmbd.service, winbind.service.
This is the samba-ad-dc.service script:
[Unit]
Description=Samba AD Daemon
Documentation=man:samba(8) man:samba(7) man:smb.conf(5)
After=network.target
[Service]
Type=notify
NotifyAccess=all
PIDFile=/run/samba.pid
LimitNOFILE=16384
EnvironmentFile=-/etc/default/samba
ExecStart=/usr/sbin/samba $SAMBAOPTIONS
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
Am 12.07.2016 um 20:53 schrieb Sonic:
> On Tue, Jul 12, 2016 at 10:09 AM, Sonic <sonicsmith...
2017 Nov 23
2
Compiling Samba 4.7 with systemd support on Fedora 26
...om> wrote:
>
>> The systemd unit file looks like as follows:
>>
>> [Unit]
>> Description=Winbindd Service
>> After=syslog.target network.target
>>
>> [Service]
>> Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba
>> Type=notify
>> NotifyAccess=all
>> PIDFile=/var/run/samba/
>
> I know nothing about systemd, but, shouldn't there be something like
> 'winbind.pid' on the end of the line above?
there should be no PIDFile line at all - the whole point of Type=notify
is a direct communication channel where a non-f...
2016 Jul 12
1
Option configure
...This is the samba-ad-dc.service script:
>>
>> [Unit]
>>
>> Description=Samba AD Daemon
>>
>> Documentation=man:samba(8) man:samba(7) man:smb.conf(5)
>>
>> After=network.target
>>
>> [Service]
>>
>> Type=notify
>>
>> NotifyAccess=all
>>
>> PIDFile=/run/samba.pid
>>
>> LimitNOFILE=16384
>>
>> EnvironmentFile=-/etc/default/samba
>>
>> ExecStart=/usr/sbin/samba $SAMBAOPTIONS
>>
>> ExecReload=/bin/kill -HUP $MAINPID
>>
>> [Install]
>>
>> WantedB...
2017 Nov 23
7
Compiling Samba 4.7 with systemd support on Fedora 26
The systemd unit file looks like as follows:
[Unit]
Description=Winbindd Service
After=syslog.target network.target
[Service]
Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba
Type=notify
NotifyAccess=all
PIDFile=/var/run/samba/
ExecStart=/usr/local/samba/sbin/winbindd -D
ExecReload=/usr/bin/kill -HUP $MAINPID
LimitCORE=infinity
[Install]
@Rowland I am not blaming samba at all, certainly is some sort of
systemd+samba issue.
I will try increasing the log verbosity and see if I see anything e...
2017 Nov 23
4
Compiling Samba 4.7 with systemd support on Fedora 26
...d-support was successful built
which does not seem to be the case looking at the starting posts!
> [Unit]
> Description=KKonnect KHIPU-NETWORKS Service
> After=syslog.target network.target
>
> [Service]
> Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba
> Type=notify
> NotifyAccess=all
> ExecStart=/usr/local/samba/sbin/winbindd
> ExecReload=/usr/bin/kill -HUP $MAINPID
> LimitCORE=infinity
>
> [Install]
> WantedBy=multi-user.target
>
> I had lifted the unit file from an rpm install of samba from fedora.
>
> Thanks
> Arnab
>
> On Thu,...
2018 Jan 10
2
Issues accessing ZFS-shares on Linux
...e
ExecStart=/usr/sbin/smbd -D as that command worked on the console. That
did not help.
For the record, this is the default unit-file:
[Unit]
Description=Samba SMB Daemon
Documentation=man:smbd(8) man:samba(7) man:smb.conf(5)
After=network.target nmbd.service winbind.service
[Service]
Type=notify
NotifyAccess=all
PIDFile=/var/run/samba/smbd.pid
LimitNOFILE=16384
EnvironmentFile=-/etc/default/samba
ExecStart=/usr/sbin/smbd $SMBDOPTIONS
ExecReload=/bin/kill -HUP $MAINPID
LimitCORE=infinity
[Install]
WantedBy=multi-user.target
Jeremy Allison via samba kirjoitti 9.1.2018 klo 21:47:
> On Tue, Jan 09, 20...
2017 Nov 23
0
Compiling Samba 4.7 with systemd support on Fedora 26
No dice :( removed as suggested updated unit file looks like this
[Unit]
Description=KKonnect KHIPU-NETWORKS Service
After=syslog.target network.target
[Service]
Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba
Type=notify
NotifyAccess=all
ExecStart=/usr/local/samba/sbin/winbindd
ExecReload=/usr/bin/kill -HUP $MAINPID
LimitCORE=infinity
[Install]
WantedBy=multi-user.target
I had lifted the unit file from an rpm install of samba from fedora.
Thanks
Arnab
On Thu, Nov 23, 2017 at 10:09 PM, Reindl Harald via samba <
samba at l...
2017 Nov 23
0
Compiling Samba 4.7 with systemd support on Fedora 26
...which does not seem to be the case looking at the starting posts!
>
> [Unit]
>> Description=KKonnect KHIPU-NETWORKS Service
>> After=syslog.target network.target
>>
>> [Service]
>> Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba
>> Type=notify
>> NotifyAccess=all
>> ExecStart=/usr/local/samba/sbin/winbindd
>> ExecReload=/usr/bin/kill -HUP $MAINPID
>> LimitCORE=infinity
>>
>> [Install]
>> WantedBy=multi-user.target
>>
>> I had lifted the unit file from an rpm install of samba from fedora.
>>
>>...
2017 Jun 20
1
[4.2.14-Debian] Smbd not listening on 192.168.0.x on cold start
...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 winbind.service
[Service]
Type=notify
NotifyAccess=all
PIDFile=/var/run/samba/smbd.pid
LimitNOFILE=16384
EnvironmentFile=-/etc/default/samba
ExecStart=/usr/sbin/smbd $SMBDOPTIONS
ExecReload=/bin/kill -HUP $MAINPID
LimitCORE=infinity
[Install]
WantedBy=multi-user.target
------------------
cat /lib/systemd/system/nmbd.service
[Unit]
Description=Sam...
2020 Sep 22
1
starting stoping samba 4.11
...h
> sends SGTERM to any process in the cgroup at stop
>
> [root at srv-rhsoft:~]$ cat /etc/systemd/system/smb.service
> [Unit]
> Description=Samba SMB Daemon
> After=network-up.service
> Requires=network-online.target network-up.service
>
> [Service]
> Type=notify
> NotifyAccess=all
> LimitNOFILE=32768
> ExecStart=/usr/sbin/smbd --foreground --no-process-group
> ExecReload=/usr/bin/kill -HUP $MAINPID
> PermissionsStartOnly=true
> Restart=always
> RestartSec=1
> Nice=19
>
> PrivateTmp=yes
> PrivateDevices=yes
> ProtectKernelTunables=yes
>...
2020 Sep 21
4
starting stoping samba 4.11
Hello I am using samba Version 4.11.2 compiled.
To start the daemon I using
/samba10/samba-4.11.2/bin/samba -s /etc/samba/smb.conf
To stop correctly, what is recommended ?
Actually I using kill -9 ...
Regards.
2016 Jul 12
4
Option configure
...ground
├─8609 /usr/sbin/smbd -D --option=server role
check:inhibit=yes --foreground
├─8611 /usr/sbin/smbd -D --option=server role
check:inhibit=yes --foreground
└─8613 /usr/sbin/winbindd -D --option=server role
check:inhibit=yes --foreground
With
Type=notify
NotifyAccess=all
systemctl status samba-ad-dc
● samba-ad-dc.service - Samba AD Daemon
Loaded: loaded (/lib/systemd/system/samba-ad-dc.service; enabled)
Active: active (running) since Tue 2016-07-12 23:48:50 CEST; 2s ago
Docs: man:samba(8)
man:samba(7)
man:smb.conf(5)
Mai...
2016 Jul 12
2
Option configure
Funny current debian service files use a wrong PIDFile path (should be
/var/run/amba/samba.pid).
If I use Type=forking and an wrong PIDFile systemctl start samba must be
CTRL-C'ed.
Type=notify works with or without an proper PIDFile.
Am 12.07.2016 um 22:47 schrieb Sonic:
> On Tue, Jul 12, 2016 at 4:29 PM, Achim Gottinger <achim at ag-web.biz> wrote:
>> Does your PIDFile
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>
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.
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.
2016 Jul 12
5
Option configure
2016-07-10 2:12 GMT+02:00 Andrew Bartlett <abartlet at samba.org>:
> On Sat, 2016-07-09 at 11:27 +0200, Marc Muehlfeld wrote:
> > Hello,
> >
> > Am 09.07.2016 um 09:14 schrieb Rowland penny:
> > > > What is the purpose of the option
> > > > *
> > > > **--with-**systemd**
> > > > ****Enable****systemd****integration*
>
2018 Sep 03
7
winbindd crashing -- how to auto-heal?
On Sun, 2 Sep 2018 22:37:05 -0400
Jamie Jackson via samba <samba at lists.samba.org> wrote:
> Thanks for the workaround, Luca. I might end up going with:
>
> #!/bin/bash
> getent group | grep -q 'Domain Users' && exit 0
> echo "restarting winbind"
> sudo systemctl restart winbind
>
>
> Rowland, it crashed again. Here's some info.
2017 Sep 25
1
A lot of zombie processes on Debian 9
...with that one.
( you need : ExecReload=/bin/kill -HUP $MAINPID )
Jessie used probely sysv and not systemd, which should explain why there are so many zombies.
[Unit]
Description=Samba AD Daemon
Documentation=man:samba(8) man:samba(7) man:smb.conf(5)
After=network.target
[Service]
Type=notify
NotifyAccess=all
PIDFile=/server/samba/bin/var/run/samba.pid
ExecStart=/server/samba/bin/sbin/samba
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> Daniel Ca...
2016 Jul 12
0
Option configure
...-piddir=/var/run --with-sockets-dir=/run --enable-fhs"
After the package build we had a few .service files - I guess as a
result of the --with-systemd switch.
The content of the nmb.service file is:
[Unit]
Description=Samba NMB Daemon
After=syslog.target network.target
[Service]
Type=notify
NotifyAccess=all
PIDFile=/run/nmbd.pid
EnvironmentFile=-/etc/sysconfig/samba
ExecStart=/usr/sbin/nmbd $NMBDOPTIONS
ExecReload=/usr/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
We then replaced the current .service files on the system with the ones
from the compiled package. However doing
system...