# Nach Serverupdate AD-Server-Connection fehlt

**URL:** <https://ask.linuxmuster.net/t/nach-serverupdate-ad-server-connection-fehlt/7894>\
**Category:** Server v7\
**Tags:** sophomorix, v7\
**Created:** [5. September 2021 um 13:49 UTC](https://ask.linuxmuster.net/t/nach-serverupdate-ad-server-connection-fehlt/7894 "2021-09-05T13:49:44Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![PaWa](https://ask.linuxmuster.net/user_avatar/ask.linuxmuster.net/pawa/32/4961_2.png) [@PaWa](https://ask.linuxmuster.net/u/PaWa)\
**Post date:** [5. September 2021 um 22:04 UTC](https://ask.linuxmuster.net/t/nach-serverupdate-ad-server-connection-fehlt/7894/7 "2021-09-05T22:04:38Z")

</div>

Hi nochmal,

ich glaube wirklich nicht, dass ich das aktiv war, sondern dass ds irgendwas mit dem Update zu tun hatte, aber was solls. Ich habe diese Anleitung gefunden ([https://www.linuxuprising.com/2020/07/ubuntu-how-to-free-up-port-53-used-by.html](https://www.linuxuprising.com/2020/07/ubuntu-how-to-free-up-port-53-used-by.html)), und mich dran gehalten. Testen kann ichs an den Clients erst morgen, aber der Status von Samba sieht schonmal anders aus:

```auto
● samba-ad-dc.service - Samba AD Daemon
   Loaded: loaded (/lib/systemd/system/samba-ad-dc.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2021-09-05 23:56:43 CEST; 6s ago
     Docs: man:samba(8)
           man:samba(7)
           man:smb.conf(5)
 Main PID: 16119 (samba)
   Status: "winbindd: ready to serve connections..."
    Tasks: 22 (limit: 4915)
   CGroup: /system.slice/samba-ad-dc.service
           ├─16119 /usr/sbin/samba --foreground --no-process-group
           ├─16223 /usr/sbin/samba --foreground --no-process-group
           ├─16224 /usr/sbin/samba --foreground --no-process-group
           ├─16225 /usr/sbin/samba --foreground --no-process-group
           ├─16226 /usr/sbin/samba --foreground --no-process-group
           ├─16227 /usr/sbin/samba --foreground --no-process-group
           ├─16228 /usr/sbin/samba --foreground --no-process-group
           ├─16229 /usr/sbin/samba --foreground --no-process-group
           ├─16234 /usr/sbin/samba --foreground --no-process-group
           ├─16237 /usr/sbin/samba --foreground --no-process-group
           ├─16238 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
           ├─16243 /usr/sbin/samba --foreground --no-process-group
           ├─16244 /usr/sbin/samba --foreground --no-process-group
           ├─16245 /usr/sbin/samba --foreground --no-process-group
           ├─16247 /usr/sbin/samba --foreground --no-process-group
           ├─16258 /usr/sbin/winbindd -D --option=server role check:inhibit=yes --foreground
           ├─16259 /usr/sbin/samba --foreground --no-process-group
           ├─16260 /usr/sbin/samba --foreground --no-process-group
           ├─16381 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
           ├─16382 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
           ├─16425 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
           └─16427 /usr/sbin/winbindd -D --option=server role check:inhibit=yes --foreground

Sep 05 23:56:42 server.linuxmuster.lan samba[16119]: Copyright Andrew Tridgell and the Samba Team 1992-2017
Sep 05 23:56:42 server.linuxmuster.lan samba[16119]: [2021/09/05 23:56:42.433315, 0] ../source4/smbd/server.c:620(binary_smbd_main)
Sep 05 23:56:42 server.linuxmuster.lan samba[16119]: samba: using 'standard' process model
Sep 05 23:56:42 server.linuxmuster.lan winbindd[16258]: [2021/09/05 23:56:42.753992, 0] ../source3/winbindd/winbindd_cache.c:3170(initialize_winbindd_cache)
Sep 05 23:56:42 server.linuxmuster.lan winbindd[16258]: initialize_winbindd_cache: clearing cache and re-creating with version number 2
Sep 05 23:56:43 server.linuxmuster.lan systemd[1]: Started Samba AD Daemon.
Sep 05 23:56:43 server.linuxmuster.lan smbd[16238]: [2021/09/05 23:56:43.229445, 0] ../lib/util/become_daemon.c:124(daemon_ready)
Sep 05 23:56:43 server.linuxmuster.lan smbd[16238]: STATUS=daemon 'smbd' finished starting up and ready to serve connections
Sep 05 23:56:43 server.linuxmuster.lan winbindd[16258]: [2021/09/05 23:56:43.347668, 0] ../lib/util/become_daemon.c:124(daemon_ready)
Sep 05 23:56:43 server.linuxmuster.lan winbindd[16258]: STATUS=daemon 'winbindd' finished starting up and ready to serve connections
```

und auch das mit den Ports gleicht nun dem von Holger:

```auto
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
samba 16260 root 36u IPv6 50934 0t0 TCP *:domain (LISTEN)
samba 16260 root 38u IPv6 50935 0t0 UDP *:domain 
samba 16260 root 39u IPv4 50936 0t0 TCP *:domain (LISTEN)
samba 16260 root 40u IPv4 50937 0t0 UDP *:domain 
```

Hier nochmal in Kurz, was ich getan habe: `/etc/systemd/resolved.conf` abgeändert zu:

```auto
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See resolved.conf(5) for details

[Resolve]
DNS=10.0.0.1
#FallbackDNS=
#Domains=
#LLMNR=no
#MulticastDNS=no
#DNSSEC=no
#Cache=yes
DNSStubListener=no
```

Den Symbolic-Link angelegt wie beschrieben (und vorsichtshalber ne Kopie von /etc/resolv.conf gemacht):

```auto
sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
```

Und den Server neu gestartet. Ich hoffe mal morgen - bzw. heute - tuts. Sobald ich das weiß ergänz ich das hier noch.

Gute Nacht 🙂  
Patrick

---

_[View the full topic](https://ask.linuxmuster.net/t/nach-serverupdate-ad-server-connection-fehlt/7894)._
