Univention Bugzilla – Attachment 11214 Details for
Bug 57310
Samba (AD DC) restart may fail due to network sockets still being occupied by left-over processes - NT_STATUS_ADDRESS_ALREADY_ASSOCIATED
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to /usr/lib/univention-install/96univention-samba4.inst
96univention-samba4.inst.patch (text/plain), 1.21 KB, created by
Christian Kowarzik
on 2024-05-28 22:15:21 CEST
(
hide
)
Description:
patch to /usr/lib/univention-install/96univention-samba4.inst
Filename:
MIME Type:
Creator:
Christian Kowarzik
Created:
2024-05-28 22:15:21 CEST
Size:
1.21 KB
patch
obsolete
>--- a/usr/lib/univention-install/96univention-samba4.inst 2024-02-05 16:53:54.000000000 +0100 >+++ b/usr/lib/univention-install/96univention-samba4.inst 2024-05-28 22:08:51.187639698 +0100 >@@ -207,13 +207,6 @@ > > stop_conflicting_services() { > ## stop samba3 services and heimdal-kdc if present >- if [ -x /etc/init.d/samba ]; then >- if [ -n "$(pgrep -f '/usr/sbin/(smbd|nmbd)')" ]; then >- /etc/init.d/samba stop >- ## the smbd init script might refuse to run if it detects ADDC config in smb.conf >- start-stop-daemon --stop --quiet --retry 2 --exec /usr/sbin/smbd >- fi >- fi > if [ -x /etc/init.d/winbind ]; then > if [ -n "$(pgrep -xf /usr/sbin/winbindd)" ]; then > /etc/init.d/winbind stop >@@ -221,6 +214,13 @@ > start-stop-daemon --stop --quiet --retry 2 --exec /usr/sbin/winbindd > fi > fi >+ if [ -x /etc/init.d/samba ]; then >+ if [ -n "$(pgrep -f '/usr/sbin/(smbd|nmbd)')" ]; then >+ /etc/init.d/samba stop >+ ## the smbd init script might refuse to run if it detects ADDC config in smb.conf >+ start-stop-daemon --stop --quiet --retry 2 --exec /usr/sbin/smbd >+ fi >+ fi > if [ -x /etc/init.d/heimdal-kdc ]; then > if [ -n "$(pgrep -f '/usr/lib/heimdal-servers/(kdc|kpasswdd)')" ]; then > /etc/init.d/heimdal-kdc stop
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 57310
:
11214
|
11215
|
11224
|
11225