Univention Bugzilla – Attachment 11225 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]
revised patch to /usr/lib/univention-install/96univention-samba4.inst
96univention-samba4.inst.patch (text/plain), 1.15 KB, created by
Christian Kowarzik
on 2024-07-02 14:04:01 CEST
(
hide
)
Description:
revised patch to /usr/lib/univention-install/96univention-samba4.inst
Filename:
MIME Type:
Creator:
Christian Kowarzik
Created:
2024-07-02 14:04:01 CEST
Size:
1.15 KB
patch
obsolete
>--- /usr/lib/univention-install/96univention-samba4.inst-orig 2024-02-05 16:53:54.000000000 +0100 >+++ /usr/lib/univention-install/96univention-samba4.inst 2024-07-02 15:37:14.044000000 +0200 >@@ -207,6 +207,13 @@ > > stop_conflicting_services() { > ## stop samba3 services and heimdal-kdc if present >+ if [ -x /etc/init.d/winbind ]; then >+ if [ -n "$(pgrep -f /usr/sbin/winbindd)" ]; then >+ /etc/init.d/winbind stop >+ # Bug #35600: Really stop all winbind processes >+ 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 >@@ -214,13 +221,6 @@ > 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 >- # Bug #35600: Really stop all winbind processes >- start-stop-daemon --stop --quiet --retry 2 --exec /usr/sbin/winbindd >- 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