Displaying 20 results from an estimated 22 matches for "krb5cc_samba".
2017 Nov 23
2
Compiling Samba 4.7 with systemd support on Fedora 26
...0000
> Arnab Roy <arniekol at gmail.com> 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...
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 an...
2019 Mar 29
2
samba 4.9.5 - joining Samba DC to existing Samba AD failed (ldbsearch has not -U and -V)
On Fri, 29 Mar 2019 09:28:37 +0100
Franta Hanzlík <franta at hanzlici.cz> wrote:
> On Wed, 27 Mar 2019 13:11:08 +0000
> Rowland Penny via samba <samba at lists.samba.org> wrote:
>
> > On Wed, 27 Mar 2019 13:00:42 +0100
> > Franta Hanzlík <franta at hanzlici.cz> wrote:
> >
> > > Yes, is no difference between '-UAdministrator' and
2023 Jan 18
1
Building samba 4.17.4 on CentOS7
On 18/01/2023 14:20, Greg Dickie via samba wrote:
> Hi,
>
> I used to build samba regularly but it's been a couple of years. I'm trying
> to fix an issue with samba stock 4.10.16 on Cent7 by building latest and
> seeing if it behaves the same but it looks like waf is not doing what's
> expected. Simple question: should this work or is cent7 now too old and
>
2023 Jan 18
2
Building samba 4.17.4 on CentOS7
...; --with-pam --with-pie --with-relro --without-fam --with-system-mitkrb5 --without-ad-dc --with-cluster-support --with-profiling-data --accel-aes=intelaesni --with-systemd --systemd-install-services --with-systemddir=/usr/lib/systemd/system --systemd-smb-extra=Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba --systemd-nmb-extra=Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba --systemd-winbind-extra=Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba --systemd-samba-extra=Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba
Setting top to : /root/rpmbuild/BUILD/samba-4.10.16...
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:
2019 Mar 30
0
samba 4.9.5 - joining Samba DC to existing Samba AD failed (ldbsearch has not -U and -V)
...!ldb,!pyldb,!pyldb-util'
--with-pam
--with-pie
--with-relro
--without-fam
--with-cluster-support
--with-profiling-data
--accel-aes=intelaesni
--with-systemd
--systemd-install-services
--with-systemddir=/usr/lib/systemd/system
--systemd-smb-extra=Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba
--systemd-nmb-extra=Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba
--systemd-winbind-extra=Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba
--systemd-samba-extra=Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba
--extra-python=/usr/bin/python3
But now (Errghrreahh), looking at [non]-...
2017 Nov 23
4
Compiling Samba 4.7 with systemd support on Fedora 26
...ify" can not work until systemd-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.
>
> Th...
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...
2017 Nov 23
0
Compiling Samba 4.7 with systemd support on Fedora 26
...l systemd-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 insta...
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 Feb 21
2
Offical RHEL AD DC on RHEL
...4
%endif
%if 0%{?epoch} > 0
@@ -879,7 +879,7 @@
%endif
install -d -m 0755 %{buildroot}%{_unitdir}
-for i in nmb smb winbind ; do
+for i in nmb smb winbind samba ; do
cat packaging/systemd/$i.service | sed -e 's@\[Service\]@[Service]\nEnvironment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba at g' >tmp$i.service
install -m 0644 tmp$i.service %{buildroot}%{_unitdir}/$i.service
done
@@ -1515,6 +1515,7 @@
%{_datadir}/samba/setup
%{_mandir}/man8/samba.8*
%{_mandir}/man8/samba-tool.8*
+%{_unitdir}/samba.service
%else # with_dc
%doc packaging/README.dc
%endif # wit...
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 Nov 23
0
Compiling Samba 4.7 with systemd support on Fedora 26
On Thu, 23 Nov 2017 21:46:17 +0000
Arnab Roy <arniekol at gmail.com> 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 ?
> ExecStart=/usr/local/samba/sbin/winbindd -D
> ExecReload=/usr/bin/kill -HUP $MAINPID
> Limit...
2018 Sep 03
0
winbindd crashing -- how to auto-heal?
...provided service unit (which, BTW,
references a $WINBINDOPTIONS that isn't defined anywhere, but since I
don't need any special option that's fine)
[Unit]
Description=Samba Winbind Daemon
After=syslog.target network.target nmb.service
[Service]
Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba
Type=notify
NotifyAccess=all
PIDFile=/run/winbindd.pid
EnvironmentFile=-/etc/sysconfig/samba
ExecStart=/usr/sbin/winbindd "$WINBINDOPTIONS"
ExecReload=/usr/bin/kill -HUP $MAINPID
LimitCORE=infinity
[Install]
WantedBy=multi-user.target
$ systemctl status winbind
● winbind.service - Samb...
2018 Sep 03
2
winbindd crashing -- how to auto-heal?
On Mon, 3 Sep 2018 15:37:03 +0200
Luca Olivetti via samba <samba at lists.samba.org> wrote:
> El 3/9/18 a les 15:23, Robert Marcano via samba ha escrit:
>
> >>
> >> I run this cron job every minute. Winbind usually crashes once or
> >> twice a day
> >>
> >> #!/bin/bash
> >> getent group | grep -q 513 && exit 0
>
2017 Nov 23
4
Compiling Samba 4.7 with systemd support on Fedora 26
Hi Rowland,
No I am running samba as a member, purely using it for ntlm_auth for
freeradius. If i run it manually i.e. /usr/local/samba/sbin/winbindd -D it
starts up and stays up no issues. Yes selinx is disabled
sestatus
SELinux status: disabled
Any pointers...?
Many Thanks
Arnab
On Thu, Nov 23, 2017 at 8:34 PM, Rowland Penny via samba <
samba at lists.samba.org> wrote:
2018 Sep 03
1
winbindd crashing -- how to auto-heal?
...e, but here's what I found in systemd:
>
> [jamie.jackson at rwhudxdkrdev ~]$
> cat /usr/lib/systemd/system/winbind.service [Unit]
> Description=Samba Winbind Daemon
> After=syslog.target network.target nmb.service
>
> [Service]
> Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba
> Type=notify
> NotifyAccess=all
> PIDFile=/run/winbindd.pid
> EnvironmentFile=-/etc/sysconfig/samba
> ExecStart=/usr/sbin/winbindd --foreground --no-process-group
> "$WINBINDOPTIONS"
> ExecReload=/usr/bin/kill -HUP $MAINPID
> LimitCORE=infinity
>
> [Install...
2017 Feb 21
0
Offical RHEL AD DC on RHEL
...; @@ -879,7 +879,7 @@
> %endif
>
> install -d -m 0755 %{buildroot}%{_unitdir}
> -for i in nmb smb winbind ; do
> +for i in nmb smb winbind samba ; do
> cat packaging/systemd/$i.service | sed -e 's@
> \[Service\]@[Service]\nEnvironment=KRB5CCNAME=FILE:/run/
> samba/krb5cc_samba at g' >tmp$i.service
> install -m 0644 tmp$i.service %{buildroot}%{_unitdir}/$i.service
> done
> @@ -1515,6 +1515,7 @@
> %{_datadir}/samba/setup
> %{_mandir}/man8/samba.8*
> %{_mandir}/man8/samba-tool.8*
> +%{_unitdir}/samba.service
> %else # with_dc
> %...
2018 Sep 03
0
winbindd crashing -- how to auto-heal?
...;winbind' as a daemon ?
>
No clue, but here's what I found in systemd:
[jamie.jackson at rwhudxdkrdev ~]$ cat /usr/lib/systemd/system/winbind.service
[Unit]
Description=Samba Winbind Daemon
After=syslog.target network.target nmb.service
[Service]
Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba
Type=notify
NotifyAccess=all
PIDFile=/run/winbindd.pid
EnvironmentFile=-/etc/sysconfig/samba
ExecStart=/usr/sbin/winbindd --foreground --no-process-group
"$WINBINDOPTIONS"
ExecReload=/usr/bin/kill -HUP $MAINPID
LimitCORE=infinity
[Install]
WantedBy=multi-user.target
> Why do feel y...