[Samba] WG: Update to samba 4.19 Aduc no longer working No login
Mueller
mueller at tropenklinik.de
Mon Sep 11 07:48:40 UTC 2023
The errors:
Sep 11 09:43:47 dom2 smbd[2387364]: [2023/09/11 09:43:47.463712, 0] ../../source3/smbd/smbXsrv_session.c:1897(smbXsrv_session_logoff)
Sep 11 09:43:47 dom2 smbd[2387364]: smbXsrv_session_logoff: smbXsrv_session_logoff(0xac9aefbb): failed to delete global key 'AC9AEFBB': NT_S>
Sep 11 09:43:47 dom2 smbd[2387364]: [2023/09/11 09:43:47.496734, 0] ../../source3/smbd/smb2_pipes.c:48(open_np_file)
Sep 11 09:43:47 dom2 smbd[2387364]: file_new failed: NT_STATUS_NOT_FOUND
Sep 11 09:43:47 dom2 smbd[2387364]: [2023/09/11 09:43:47.497793, 0] ../../source3/smbd/smb2_pipes.c:48(open_np_file)
Sep 11 09:43:47 dom2 smbd[2387364]: file_new failed: NT_STATUS_NOT_FOUND
Sep 11 09:44:17 dom2 smbd[2387371]: [2023/09/11 09:44:17.800919, 0] ../../source3/smbd/smbXsrv_session.c:1494(smbXsrv_session_update)
Sep 11 09:44:17 dom2 smbd[2387371]: smbXsrv_session_update: smbXsrv_session_update: global_id (0x5934baf0) store failed - NT_STATUS_NOT_FOUND
Sep 11 09:44:17 dom2 smbd[2387371]: [2023/09/11 09:44:17.802044, 0] ../../source3/smbd/smbXsrv_session.c:1897(smbXsrv_session_logoff)
Sep 11 09:44:17 dom2 smbd[2387371]: smbXsrv_session_logoff: smbXsrv_session_logoff(0x5934baf0): failed to delete global key '5934BAF0': NT_S>
-----Ursprüngliche Nachricht-----
Von: Mueller [mailto:mueller at tplk.loc]
Gesendet: Montag, 11. September 2023 09:19
An: samba samba (samba at lists.samba.org) <samba at lists.samba.org>
Betreff: Update to samba 4.19 Aduc no longer working No login
Wichtigkeit: Hoch
Dear all,
after updating to samba 4.19 I cannot use ADUC anymore:
Error Trust levels between the domain could not be established because of no domain server.
On restarting samba on the server:
service samba status
● samba.service - Samba AD Daemon
Loaded: loaded (/lib/systemd/system/samba.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2023-09-11 08:58:38 CEST; 8min ago
Docs: man:samba(8)
man:samba(7)
man:smb.conf(5)
Process: 2758367 ExecStart=/usr/sbin/samba --foreground --no-process-group $SAMBAOPTIONS (code=exited, status=1/FAILURE)
Main PID: 2758367 (code=exited, status=1/FAILURE)
Status: "samba: ready to serve connections..."
CPU: 816ms
Sep 11 08:58:38 dommaster samba[2758391]: [2023/09/11 08:58:38.358549, 0] ../../source4/samba/process_prefork.c:498(prefork_restart)
Sep 11 08:58:38 dommaster samba[2758391]: prefork_restart: Restarting [kdc] pre-fork worker in (10) seconds
Sep 11 08:58:38 dommaster samba[2758367]: [2023/09/11 08:58:38.358975, 0] ../../source4/samba/process_prefork.c:637(prefork_child_pipe_handler)
Sep 11 08:58:38 dommaster samba[2758367]: prefork_child_pipe_handler: Parent 2758367, Child 2758412 terminated with signal 6
Sep 11 08:58:38 dommaster samba[2758367]: [2023/09/11 08:58:38.359033, 0] ../../source4/samba/process_prefork.c:498(prefork_restart)
Sep 11 08:58:38 dommaster samba[2758367]: prefork_restart: Restarting [winbindd] pre-fork master in (10) seconds
Sep 11 08:58:38 dommaster samba[2758367]: [2023/09/11 08:58:38.359386, 0] ../../source4/samba/server.c:403(samba_terminate)
Sep 11 08:58:38 dommaster samba[2758367]: samba_terminate: samba_terminate of samba 2758367: smbd child process exited
Sep 11 08:58:38 dommaster systemd[1]: samba.service: Main process exited, code=exited, status=1/FAILURE Sep 11 08:58:38 dommaster systemd[1]: samba.service: Failed with result 'exit-code'.
What I did after upgrading:
I set ad dc functional level = 2016 in smb.conf I did, samba-tool domain schemaupgrade --schema=2019 samba-tool domain functionalprep --function-level=2016 samba-tool domain level raise --domain-level=2016 --forest-level=2016
All was working over the weekend but suddenly crashes. Even the Emailserver cannot authenticate against the domain.
Kinit not possible:
kinit administrator at TLK.LOC
kinit: für Realm »TLK.LOC« kann nicht KDC kontaktiert werden bei Anfängliche Anmeldedaten werden geholt.
How can I fix this quickly!?
Greetings
Daniel
More information about the samba
mailing list