Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Domain logon not working anymore #73

Open
thoschi opened this issue Nov 21, 2023 · 1 comment
Open

Domain logon not working anymore #73

thoschi opened this issue Nov 21, 2023 · 1 comment
Labels
help wanted Extra attention is needed needs confirmation Some more information is needed to confirm the root of the problem

Comments

@thoschi
Copy link

thoschi commented Nov 21, 2023

this is part observation, part guess:

observations:

  • some months ago: login is possible at all devices but one - after changing the hostname, login is possible. Changing back to old name, even partitioning and formatting - no login (guess at that time: remains in the ad that block this certain hostname).
  • report from linuxmuster forum user: after changing name of computer on that domain join was done, problems with login on other computers
  • our situation: since about one week suddenly no linux domain login possible on ALL computers (image worked before on all computers but the one mentioned above) - we checked syncing twice, created new image after purging all packages, etc.
  • what worked: leaving domain, creating/syncing a new (virtuel) computer, syncing, joining domain, creating image. THIS image works again

guess: there seems to be some remains in the ad that blocks a domain logon, when this original computers name is changed.

this should be understood and either be fixed or somehow documented that the name of a computer that joins a domain, should never be changed (though so far it is a guess only).

best regards
thomas

partial output of linuxmuster-linuxclient7 print-logs:

root@sutherland99:/etc# linuxmuster-linuxclient7 print-logs
===========================================
=== Linuxmuster-linuxclient7 logs begin ===


Nov 20 14:41:56 virt-aleph-lin linuxmuster-linuxclient7: [INFO] ====== onBoot started ======
Nov 20 14:41:56 virt-aleph-lin linuxmuster-linuxclient7: [INFO] Patching /etc/krb5.keytab
Nov 20 14:41:56 virt-aleph-lin linuxmuster-linuxclient7: [DEBUG] VIRT-ALEPH-LIN$ was changed to VIRT-ALEPH-LIN$
Nov 20 14:41:56 virt-aleph-lin linuxmuster-linuxclient7: message repeated 2 times: [ [DEBUG] VIRT-ALEPH-LIN$ was changed to VIRT-ALEPH-LIN$]
Nov 20 14:41:56 virt-aleph-lin linuxmuster-linuxclient7: [DEBUG] VIRT-ALEPH-LIN was changed to VIRT-ALEPH-LIN
Nov 20 14:41:56 virt-aleph-lin linuxmuster-linuxclient7: message repeated 2 times: [ [DEBUG] VIRT-ALEPH-LIN was changed to VIRT-ALEPH-LIN]
Nov 20 14:41:56 virt-aleph-lin linuxmuster-linuxclient7: [DEBUG] virt-aleph-lin.corvi.linuxmuster.lan was changed to virt-aleph-lin.corvi.linuxmuster.lan
Nov 20 14:41:56 virt-aleph-lin linuxmuster-linuxclient7: message repeated 2 times: [ [DEBUG] virt-aleph-lin.corvi.linuxmuster.lan was changed to virt-aleph-lin.corvi.linuxmuster.lan]
Nov 20 14:41:56 virt-aleph-lin linuxmuster-linuxclient7: [DEBUG] VIRT-ALEPH-LIN was changed to VIRT-ALEPH-LIN
Nov 20 14:41:56 virt-aleph-lin linuxmuster-linuxclient7: message repeated 2 times: [ [DEBUG] VIRT-ALEPH-LIN was changed to VIRT-ALEPH-LIN]
Nov 20 14:41:56 virt-aleph-lin linuxmuster-linuxclient7: [DEBUG] virt-aleph-lin.corvi.linuxmuster.lan was changed to virt-aleph-lin.corvi.linuxmuster.lan
Nov 20 14:41:56 virt-aleph-lin linuxmuster-linuxclient7: message repeated 2 times: [ [DEBUG] virt-aleph-lin.corvi.linuxmuster.lan was changed to virt-aleph-lin.corvi.linuxmuster.lan]
Nov 20 14:41:56 virt-aleph-lin linuxmuster-linuxclient7: [INFO] Trying to overwrite /etc/krb5.keytab
Nov 20 14:41:56 virt-aleph-lin smbd[664]: [2023/11/20 14:41:56.363211,  0] ../../source3/smbd/server.c:1734(main)
Nov 20 14:41:56 virt-aleph-lin smbd[664]:   smbd version 4.15.13-Ubuntu started.
Nov 20 14:41:56 virt-aleph-lin smbd[664]:   Copyright Andrew Tridgell and the Samba Team 1992-2021
Nov 20 14:41:56 virt-aleph-lin linuxmuster-linuxclient7: [DEBUG] Calculating mountpoint of //server.corvi.linuxmuster.lan/sysvol
Nov 20 14:41:56 virt-aleph-lin avahi-daemon[461]: Server startup complete. Host name is virt-aleph-lin.local. Local service cookie is 1346134728.
Nov 20 14:41:56 virt-aleph-lin linuxmuster-linuxclient7: [WARNING] Uid could not be found! Continuing anyway!
Nov 20 14:41:56 virt-aleph-lin linuxmuster-linuxclient7: [DEBUG] Trying to mount //server.corvi.linuxmuster.lan/sysvol to /srv/samba/VIRT-ALEPH-LIN$/sysvol
Nov 20 14:41:56 virt-aleph-lin linuxmuster-linuxclient7: [DEBUG] * Creating directory...
Nov 20 14:41:56 virt-aleph-lin linuxmuster-linuxclient7: [DEBUG] * Executing /usr/sbin/mount.cifs -o file_mode=0700,dir_mode=0700,sec=krb5,nodev,nosuid,mfsymlinks,nobrl,vers=3.0,user=VIRT-ALEPH-LIN$,domain=CORVI.LINUXMUSTER.LAN //server.corvi.linuxmuster.lan/sysvol /srv/samba/VIRT-ALEPH-LIN$/sysvol 
Nov 20 14:41:56 virt-aleph-lin linuxmuster-linuxclient7: [DEBUG] * Trying to mount...
Nov 20 14:41:56 virt-aleph-lin systemd[1]: Started Samba SMB Daemon.
Nov 20 14:41:56 virt-aleph-lin kernel: [   11.462760] FS-Cache: Loaded
Nov 20 14:41:56 virt-aleph-lin kernel: [   11.682570] Key type cifs.spnego registered
Nov 20 14:41:56 virt-aleph-lin kernel: [   11.682603] Key type cifs.idmap registered
Nov 20 14:41:56 virt-aleph-lin kernel: [   11.683589] CIFS: Attempting to mount \\server.corvi.linuxmuster.lan\sysvol
Nov 20 14:41:56 virt-aleph-lin cifs.upcall: key description: cifs.spnego;0;0;39010000;ver=0x2;host=server.corvi.linuxmuster.lan;ip4=10.0.0.1;sec=krb5;uid=0x0;creduid=0x0;user=VIRT-ALEPH-LIN$;pid=0x2b5
Nov 20 14:41:56 virt-aleph-lin cifs.upcall: ver=2
Nov 20 14:41:56 virt-aleph-lin cifs.upcall: host=server.corvi.linuxmuster.lan
Nov 20 14:41:56 virt-aleph-lin cifs.upcall: ip=10.0.0.1
Nov 20 14:41:56 virt-aleph-lin cifs.upcall: sec=1
Nov 20 14:41:56 virt-aleph-lin cifs.upcall: uid=0
Nov 20 14:41:56 virt-aleph-lin cifs.upcall: creduid=0
Nov 20 14:41:56 virt-aleph-lin cifs.upcall: user=VIRT-ALEPH-LIN$
Nov 20 14:41:56 virt-aleph-lin cifs.upcall: pid=693
Nov 20 14:41:56 virt-aleph-lin cifs.upcall: get_cachename_from_process_env: pid == 0
Nov 20 14:41:56 virt-aleph-lin cifs.upcall: get_existing_cc: default ccache is FILE:/tmp/krb5cc_0
Nov 20 14:41:56 virt-aleph-lin cifs.upcall: handle_krb5_mech: getting service ticket for server.corvi.linuxmuster.lan
Nov 20 14:41:56 virt-aleph-lin cifs.upcall: handle_krb5_mech: obtained service ticket
Nov 20 14:41:56 virt-aleph-lin cifs.upcall: Exit status 0
Nov 20 14:41:56 virt-aleph-lin linuxmuster-linuxclient7: [DEBUG] * Success!
Nov 20 14:41:56 virt-aleph-lin linuxmuster-linuxclient7: [DEBUG] Calculating mountpoint of //server.corvi.linuxmuster.lan/sysvol
Nov 20 14:41:56 virt-aleph-lin linuxmuster-linuxclient7: [INFO] === Running local hook onBoot ===
Nov 20 14:41:56 virt-aleph-lin onBoot[714]: id: »VIRT-ALEPH-LIN$“: Einen solchen Benutzer gibt es nicht
Nov 20 14:41:56 virt-aleph-lin linuxmuster-linuxclient7: [WARNING] Exception when querying groups of user VIRT-ALEPH-LIN$, it probaply does not exist
Nov 20 14:41:56 virt-aleph-lin onBoot[716]: id: »VIRT-ALEPH-LIN$“: Einen solchen Benutzer gibt es nicht
Nov 20 14:41:56 virt-aleph-lin linuxmuster-linuxclient7: [WARNING] Exception when querying groups of user VIRT-ALEPH-LIN$, it probaply does not exist
Nov 20 14:41:57 virt-aleph-lin onBoot[718]: id: »VIRT-ALEPH-LIN$“: Einen solchen Benutzer gibt es nicht
Nov 20 14:41:57 virt-aleph-lin linuxmuster-linuxclient7: [WARNING] Exception when querying groups of user VIRT-ALEPH-LIN$, it probaply does not exist
Nov 20 14:41:57 virt-aleph-lin linuxmuster-linuxclient7: [INFO] == Executing script /etc/linuxmuster-linuxclient7/onBoot.d/00_example.sh ==
Nov 20 14:41:57 virt-aleph-lin onBoot[721]: onBoot.d Hook called with env:
Nov 20 14:41:57 virt-aleph-lin onBoot[721]: Sysvol: /srv/samba/VIRT-ALEPH-LIN$/sysvol
Nov 20 14:41:57 virt-aleph-lin onBoot[721]: Domain: corvi.linuxmuster.lan
Nov 20 14:41:57 virt-aleph-lin onBoot[721]: Server hostname: server.corvi.linuxmuster.lan
Nov 20 14:41:57 virt-aleph-lin onBoot[721]: Room: virt-clients
Nov 20 14:41:57 virt-aleph-lin onBoot[721]: Hardware group: alephadmin-lin
Nov 20 14:41:57 virt-aleph-lin linuxmuster-linuxclient7: [INFO] ==> Script /etc/linuxmuster-linuxclient7/onBoot.d/00_example.sh finished with exit code 0 ==
Nov 20 14:41:57 virt-aleph-lin linuxmuster-linuxclient7: [INFO] ===> Finished running local hook onBoot ===
Nov 20 14:41:57 virt-aleph-lin linuxmuster-linuxclient7: [INFO] === Running remote hook onBoot ===
Nov 20 14:41:57 virt-aleph-lin onBoot[732]: id: »VIRT-ALEPH-LIN$“: Einen solchen Benutzer gibt es nicht
Nov 20 14:41:57 virt-aleph-lin linuxmuster-linuxclient7: [WARNING] Exception when querying groups of user VIRT-ALEPH-LIN$, it probaply does not exist
Nov 20 14:41:57 virt-aleph-lin onBoot[734]: id: »VIRT-ALEPH-LIN$“: Einen solchen Benutzer gibt es nicht
Nov 20 14:41:57 virt-aleph-lin linuxmuster-linuxclient7: [WARNING] Exception when querying groups of user VIRT-ALEPH-LIN$, it probaply does not exist
Nov 20 14:41:57 virt-aleph-lin linuxmuster-linuxclient7: [DEBUG] Calculating mountpoint of //server.corvi.linuxmuster.lan/sysvol
Nov 20 14:41:57 virt-aleph-lin linuxmuster-linuxclient7: [WARNING] Uid could not be found! Continuing anyway!
Nov 20 14:41:57 virt-aleph-lin linuxmuster-linuxclient7: [DEBUG] Trying to mount //server.corvi.linuxmuster.lan/sysvol to /srv/samba/VIRT-ALEPH-LIN$/sysvol
Nov 20 14:41:57 virt-aleph-lin linuxmuster-linuxclient7: [DEBUG] * Creating directory...
Nov 20 14:41:57 virt-aleph-lin linuxmuster-linuxclient7: [DEBUG] * The mountpoint is already mounted.
Nov 20 14:41:57 virt-aleph-lin linuxmuster-linuxclient7: [DEBUG] Calculating mountpoint of //server.corvi.linuxmuster.lan/sysvol
Nov 20 14:41:57 virt-aleph-lin onBoot[743]: id: »VIRT-ALEPH-LIN$“: Einen solchen Benutzer gibt es nicht
Nov 20 14:41:57 virt-aleph-lin linuxmuster-linuxclient7: [WARNING] Exception when querying groups of user VIRT-ALEPH-LIN$, it probaply does not exist
Nov 20 14:41:57 virt-aleph-lin onBoot[745]: id: »VIRT-ALEPH-LIN$“: Einen solchen Benutzer gibt es nicht
Nov 20 14:41:57 virt-aleph-lin linuxmuster-linuxclient7: [WARNING] Exception when querying groups of user VIRT-ALEPH-LIN$, it probaply does not exist
Nov 20 14:41:57 virt-aleph-lin onBoot[747]: id: »VIRT-ALEPH-LIN$“: Einen solchen Benutzer gibt es nicht
Nov 20 14:41:57 virt-aleph-lin linuxmuster-linuxclient7: [WARNING] Exception when querying groups of user VIRT-ALEPH-LIN$, it probaply does not exist
Nov 20 14:41:57 virt-aleph-lin linuxmuster-linuxclient7: [INFO] == Executing script /srv/samba/VIRT-ALEPH-LIN$/sysvol/corvi.linuxmuster.lan/scripts/default-school/lmn/linux/sysstart.sh ==
Nov 20 14:41:57 virt-aleph-lin linuxmuster-linuxclient7: [INFO] ==> Script /srv/samba/VIRT-ALEPH-LIN$/sysvol/corvi.linuxmuster.lan/scripts/default-school/lmn/linux/sysstart.sh finished with exit code 0 ==
Nov 20 14:41:57 virt-aleph-lin linuxmuster-linuxclient7: [INFO] == Executing script /srv/samba/VIRT-ALEPH-LIN$/sysvol/corvi.linuxmuster.lan/scripts/default-school/custom/linux/sysstart.sh ==
Nov 20 14:41:57 virt-aleph-lin linuxmuster-linuxclient7: [INFO] ==> Script /srv/samba/VIRT-ALEPH-LIN$/sysvol/corvi.linuxmuster.lan/scripts/default-school/custom/linux/sysstart.sh finished with exit code 0 ==
Nov 20 14:41:57 virt-aleph-lin linuxmuster-linuxclient7: [INFO] ===> Finished running remote hook onBoot ===
Nov 20 14:41:57 virt-aleph-lin linuxmuster-linuxclient7: [INFO] ======> onBoot end ======




Nov 20 14:41:59 virt-aleph-lin linuxmuster-linuxclient7: [INFO] ====== onLoginLogoutAsRoot started with PAM_TYPE=open_session PAM_RHOST=None PAM_RUSER=None PAM_SERVICE=gdm-launch-environment PAM_TTY=/dev/tty1 PAM_USER=gdm ======
Nov 20 14:41:59 virt-aleph-lin kernel: [   14.488430] audit: type=1400 audit(1700487719.536:45): apparmor="ALLOWED" operation="open" class="file" profile="/usr/sbin/sssd" name="/proc/805/cmdline" pid=759 comm="sssd_nss" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Nov 20 14:41:59 virt-aleph-lin kernel: [   14.796496] audit: type=1400 audit(1700487719.844:46): apparmor="ALLOWED" operation="open" class="file" profile="/usr/sbin/sssd" name="/proc/806/cmdline" pid=759 comm="sssd_nss" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Nov 20 14:41:59 virt-aleph-lin kernel: [   14.814050] audit: type=1400 audit(1700487719.860:47): apparmor="ALLOWED" operation="open" class="file" profile="/usr/sbin/sssd" name="/proc/807/cmdline" pid=759 comm="sssd_nss" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Nov 20 14:41:59 virt-aleph-lin linuxmuster-linuxclient7: [INFO] ==== gdm is not an AD user, exiting ====
Nov 20 14:41:59 virt-aleph-lin linuxmuster-linuxclient7: [INFO] ======> onLoginLogoutAsRoot end ====




Nov 20 14:42:36 virt-aleph-lin linuxmuster-linuxclient7: [INFO] ====== onLoginLogoutAsRoot started with PAM_TYPE=open_session PAM_RHOST=10.0.0.1 PAM_RUSER=None PAM_SERVICE=sshd PAM_TTY=ssh PAM_USER=root ======
Nov 20 14:42:36 virt-aleph-lin kernel: [   51.376541] audit: type=1400 audit(1700487756.696:1182): apparmor="ALLOWED" operation="open" class="file" profile="/usr/sbin/sssd" name="/proc/1187/cmdline" pid=759 comm="sssd_nss" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Nov 20 14:42:36 virt-aleph-lin kernel: [   51.389143] audit: type=1400 audit(1700487756.708:1183): apparmor="ALLOWED" operation="open" class="file" profile="/usr/sbin/sssd" name="/proc/1188/cmdline" pid=759 comm="sssd_nss" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Nov 20 14:42:36 virt-aleph-lin kernel: [   51.401890] audit: type=1400 audit(1700487756.720:1184): apparmor="ALLOWED" operation="open" class="file" profile="/usr/sbin/sssd" name="/proc/1189/cmdline" pid=759 comm="sssd_nss" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Nov 20 14:42:36 virt-aleph-lin linuxmuster-linuxclient7: [INFO] ==== root is not an AD user, exiting ====
Nov 20 14:42:36 virt-aleph-lin linuxmuster-linuxclient7: [INFO] ======> onLoginLogoutAsRoot end ====




Nov 20 14:42:38 virt-aleph-lin linuxmuster-linuxclient7: [INFO] ====== onLogin started ======
Nov 20 14:42:38 virt-aleph-lin kernel: [   53.049867] audit: type=1400 audit(1700487758.383:1187): apparmor="ALLOWED" operation="open" class="file" profile="/usr/sbin/sssd" name="/proc/1264/cmdline" pid=759 comm="sssd_nss" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Nov 20 14:42:38 virt-aleph-lin kernel: [   53.059448] audit: type=1400 audit(1700487758.391:1188): apparmor="ALLOWED" operation="open" class="file" profile="/usr/sbin/sssd" name="/proc/1265/cmdline" pid=759 comm="sssd_nss" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Nov 20 14:42:38 virt-aleph-lin kernel: [   53.069056] audit: type=1400 audit(1700487758.403:1189): apparmor="ALLOWED" operation="open" class="file" profile="/usr/sbin/sssd" name="/proc/1266/cmdline" pid=759 comm="sssd_nss" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Nov 20 14:42:38 virt-aleph-lin linuxmuster-linuxclient7: [INFO] ==== root is not an AD user, exiting ====
Nov 20 14:42:38 virt-aleph-lin linuxmuster-linuxclient7: [INFO] ======> onLogin end ====




Nov 20 14:45:28 virt-aleph-lin linuxmuster-linuxclient7: [INFO] ====== onBoot started ======
Nov 20 14:45:28 virt-aleph-lin linuxmuster-linuxclient7: [INFO] Patching /etc/krb5.keytab
Nov 20 14:45:28 virt-aleph-lin linuxmuster-linuxclient7: [ERROR] Error reading /etc/krb5.keytab
Nov 20 14:45:29 virt-aleph-lin onBoot[708]: kinit: Pre-authentication failed: Schlüsseltabellendatei »/etc/krb5.keytab« nicht gefunden bei Anfängliche Anmeldedaten werden geholt.
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [ERROR] Error when reading network.conf (1)
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [ERROR] === An exception occurred ===
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [ERROR] network
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [ERROR] === end exception ===
Nov 20 14:45:29 virt-aleph-lin smbd[704]: [2023/11/20 14:45:29.106681,  0] ../../source3/smbd/server.c:1734(main)
Nov 20 14:45:29 virt-aleph-lin smbd[704]:   smbd version 4.15.13-Ubuntu started.
Nov 20 14:45:29 virt-aleph-lin smbd[704]:   Copyright Andrew Tridgell and the Samba Team 1992-2021
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [INFO] === Running local hook onBoot ===
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [ERROR] Error when reading network.conf (1)
Nov 20 14:45:29 virt-aleph-lin systemd[679]: Queued start job for default target Main User Target.
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [ERROR] === An exception occurred ===
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [ERROR] network
Nov 20 14:45:29 virt-aleph-lin systemd[679]: Created slice User Application Slice.
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [ERROR] === end exception ===
Nov 20 14:45:29 virt-aleph-lin systemd[679]: Created slice User Background Tasks Slice.
Nov 20 14:45:29 virt-aleph-lin systemd[679]: Created slice User Core Session Slice.
Nov 20 14:45:29 virt-aleph-lin onBoot[719]: id: »VIRT-ALEPH-LIN$“: Einen solchen Benutzer gibt es nicht
Nov 20 14:45:29 virt-aleph-lin systemd[679]: Started Pending report trigger for Ubuntu Report.
Nov 20 14:45:29 virt-aleph-lin systemd[679]: Reached target Paths.
Nov 20 14:45:29 virt-aleph-lin systemd[679]: Reached target Timers.
Nov 20 14:45:29 virt-aleph-lin systemd[679]: Starting D-Bus User Message Bus Socket...
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [WARNING] Exception when querying groups of user VIRT-ALEPH-LIN$, it probaply does not exist
Nov 20 14:45:29 virt-aleph-lin systemd[679]: Listening on GnuPG network certificate management daemon.
Nov 20 14:45:29 virt-aleph-lin systemd[679]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Nov 20 14:45:29 virt-aleph-lin systemd[679]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Nov 20 14:45:29 virt-aleph-lin systemd[679]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Nov 20 14:45:29 virt-aleph-lin systemd[679]: Listening on GnuPG cryptographic agent and passphrase cache.
Nov 20 14:45:29 virt-aleph-lin systemd[679]: Listening on PipeWire Multimedia System Socket.
Nov 20 14:45:29 virt-aleph-lin systemd[679]: Listening on debconf communication socket.
Nov 20 14:45:29 virt-aleph-lin systemd[679]: Listening on Sound System.
Nov 20 14:45:29 virt-aleph-lin systemd[679]: Listening on REST API socket for snapd user session agent.
Nov 20 14:45:29 virt-aleph-lin systemd[679]: Listening on Speech Dispatcher Socket.
Nov 20 14:45:29 virt-aleph-lin onBoot[723]: id: »VIRT-ALEPH-LIN$“: Einen solchen Benutzer gibt es nicht
Nov 20 14:45:29 virt-aleph-lin systemd[679]: Listening on D-Bus User Message Bus Socket.
Nov 20 14:45:29 virt-aleph-lin systemd[679]: Reached target Sockets.
Nov 20 14:45:29 virt-aleph-lin systemd[679]: Reached target Basic System.
Nov 20 14:45:29 virt-aleph-lin systemd[1]: Started User Manager for UID 125.
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [WARNING] Exception when querying groups of user VIRT-ALEPH-LIN$, it probaply does not exist
Nov 20 14:45:29 virt-aleph-lin systemd[1]: Started Session c1 of User gdm.
Nov 20 14:45:29 virt-aleph-lin systemd[679]: Started PipeWire Multimedia Service.
Nov 20 14:45:29 virt-aleph-lin systemd[679]: Started PipeWire Media Session Manager.
Nov 20 14:45:29 virt-aleph-lin systemd[679]: Starting Sound Service...
Nov 20 14:45:29 virt-aleph-lin systemd[679]: Starting Tracker metadata extractor...
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [ERROR] Error when reading network.conf (1)
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [ERROR] === An exception occurred ===
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [ERROR] network
Nov 20 14:45:29 virt-aleph-lin systemd[679]: Started D-Bus User Message Bus.
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [ERROR] === end exception ===
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [ERROR] Cloud not bind to ldap!
Nov 20 14:45:29 virt-aleph-lin systemd[1]: Started Samba SMB Daemon.
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [ERROR] === An exception occurred ===
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [ERROR] initialize() argument 1 must be str, not tuple
Nov 20 14:45:29 virt-aleph-lin dbus-daemon[470]: [system] Activating via systemd: service name='org.freedesktop.RealtimeKit1' unit='rtkit-daemon.service' requested by ':1.28' (uid=125 pid=726 comm="/usr/bin/pipewire " label="unconfined")
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [ERROR] === end exception ===
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [ERROR] Cannot talk to LDAP
Nov 20 14:45:29 virt-aleph-lin onBoot[745]: onBoot.d Hook called with env:
Nov 20 14:45:29 virt-aleph-lin onBoot[745]: Sysvol:
Nov 20 14:45:29 virt-aleph-lin onBoot[745]: Domain:
Nov 20 14:45:29 virt-aleph-lin onBoot[745]: Server hostname:
Nov 20 14:45:29 virt-aleph-lin onBoot[745]: Room:
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [INFO] == Executing script /etc/linuxmuster-linuxclient7/onBoot.d/00_example.sh ==
Nov 20 14:45:29 virt-aleph-lin systemd[1]: Starting RealtimeKit Scheduling Policy Service...
Nov 20 14:45:29 virt-aleph-lin dbus-daemon[470]: [system] Successfully activated service 'org.freedesktop.RealtimeKit1'
Nov 20 14:45:29 virt-aleph-lin systemd[1]: Started RealtimeKit Scheduling Policy Service.
Nov 20 14:45:29 virt-aleph-lin rtkit-daemon[742]: Successfully called chroot.
Nov 20 14:45:29 virt-aleph-lin rtkit-daemon[742]: Successfully dropped privileges.
Nov 20 14:45:29 virt-aleph-lin rtkit-daemon[742]: Successfully limited resources.
Nov 20 14:45:29 virt-aleph-lin rtkit-daemon[742]: Running.
Nov 20 14:45:29 virt-aleph-lin rtkit-daemon[742]: Canary thread running.
Nov 20 14:45:29 virt-aleph-lin rtkit-daemon[742]: Watchdog thread running.
Nov 20 14:45:29 virt-aleph-lin onBoot[745]: Hardware group:
Nov 20 14:45:29 virt-aleph-lin avahi-daemon[464]: Server startup complete. Host name is virt-aleph-lin.local. Local service cookie is 2682135736.
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [INFO] ==> Script /etc/linuxmuster-linuxclient7/onBoot.d/00_example.sh finished with exit code 0 ==
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [INFO] ===> Finished running local hook onBoot ===
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [INFO] === Running remote hook onBoot ===
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [ERROR] Error when reading network.conf (1)
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [ERROR] === An exception occurred ===
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [ERROR] network
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [ERROR] === end exception ===
Nov 20 14:45:29 virt-aleph-lin dbus-daemon[735]: [session uid=125 pid=735] AppArmor D-Bus mediation is enabled
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [ERROR] Could not execute server hooks because the network config could not be read
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [INFO] ===> Finished running remote hook onBoot ===
Nov 20 14:45:29 virt-aleph-lin linuxmuster-linuxclient7: [INFO] ======> onBoot end ======




Nov 20 14:48:46 virt-aleph-lin linuxmuster-linuxclient7: [INFO] ====== onLogin started ======
Nov 20 14:48:46 virt-aleph-lin linuxmuster-linuxclient7: [INFO] ==== Linuxmuster-linuxclient7 is not setup, exiting ====
Nov 20 14:48:46 virt-aleph-lin linuxmuster-linuxclient7: [INFO] ======> onLogin end ====




Nov 21 07:31:45 sutherland99 linuxmuster-linuxclient7: [INFO] ====== onBoot started ======
Nov 21 07:31:45 sutherland99 linuxmuster-linuxclient7: [INFO] Patching /etc/krb5.keytab
Nov 21 07:31:45 sutherland99 linuxmuster-linuxclient7: [DEBUG] VIRT-ALEPH-LIN$ was changed to SUTHERLAND99$
Nov 21 07:31:45 sutherland99 linuxmuster-linuxclient7: message repeated 2 times: [ [DEBUG] VIRT-ALEPH-LIN$ was changed to SUTHERLAND99$]
Nov 21 07:31:45 sutherland99 linuxmuster-linuxclient7: [DEBUG] VIRT-ALEPH-LIN was changed to SUTHERLAND99
Nov 21 07:31:45 sutherland99 linuxmuster-linuxclient7: message repeated 2 times: [ [DEBUG] VIRT-ALEPH-LIN was changed to SUTHERLAND99]
Nov 21 07:31:45 sutherland99 linuxmuster-linuxclient7: [DEBUG] virt-aleph-lin.corvi.linuxmuster.lan was changed to sutherland99.corvi.linuxmuster.lan
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: message repeated 2 times: [ [DEBUG] virt-aleph-lin.corvi.linuxmuster.lan was changed to sutherland99.corvi.linuxmuster.lan]
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [DEBUG] VIRT-ALEPH-LIN was changed to SUTHERLAND99
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: message repeated 2 times: [ [DEBUG] VIRT-ALEPH-LIN was changed to SUTHERLAND99]
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [DEBUG] virt-aleph-lin.corvi.linuxmuster.lan was changed to sutherland99.corvi.linuxmuster.lan
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: message repeated 2 times: [ [DEBUG] virt-aleph-lin.corvi.linuxmuster.lan was changed to sutherland99.corvi.linuxmuster.lan]
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [INFO] Trying to overwrite /etc/krb5.keytab
Nov 21 07:31:46 sutherland99 smbd[731]: [2023/11/21 07:31:46.033573,  0] ../../source3/smbd/server.c:1734(main)
Nov 21 07:31:46 sutherland99 smbd[731]:   smbd version 4.15.13-Ubuntu started.
Nov 21 07:31:46 sutherland99 smbd[731]:   Copyright Andrew Tridgell and the Samba Team 1992-2021
Nov 21 07:31:46 sutherland99 systemd[1]: Started Samba SMB Daemon.
Nov 21 07:31:46 sutherland99 onBoot[750]: kinit: Vorauthentifizierung fehlgeschlagen bei Anfängliche Anmeldedaten werden geholt.
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [DEBUG] Calculating mountpoint of //server.corvi.linuxmuster.lan/sysvol
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [WARNING] Uid could not be found! Continuing anyway!
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [DEBUG] Trying to mount //server.corvi.linuxmuster.lan/sysvol to /srv/samba/SUTHERLAND99$/sysvol
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [DEBUG] * Creating directory...
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [DEBUG] * Executing /usr/sbin/mount.cifs -o file_mode=0700,dir_mode=0700,sec=krb5,nodev,nosuid,mfsymlinks,nobrl,vers=3.0,user=SUTHERLAND99$,domain=CORVI.LINUXMUSTER.LAN //server.corvi.linuxmuster.lan/sysvol /srv/samba/SUTHERLAND99$/sysvol 
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [DEBUG] * Trying to mount...
Nov 21 07:31:46 sutherland99 kernel: [   12.305940] FS-Cache: Loaded
Nov 21 07:31:46 sutherland99 kernel: [   12.389992] Key type cifs.spnego registered
Nov 21 07:31:46 sutherland99 kernel: [   12.390013] Key type cifs.idmap registered
Nov 21 07:31:46 sutherland99 kernel: [   12.390829] CIFS: Attempting to mount \\server.corvi.linuxmuster.lan\sysvol
Nov 21 07:31:46 sutherland99 cifs.upcall: key description: cifs.spnego;0;0;39010000;ver=0x2;host=server.corvi.linuxmuster.lan;ip4=10.0.0.1;sec=krb5;uid=0x0;creduid=0x0;user=SUTHERLAND99$;pid=0x2f9
Nov 21 07:31:46 sutherland99 cifs.upcall: ver=2
Nov 21 07:31:46 sutherland99 cifs.upcall: host=server.corvi.linuxmuster.lan
Nov 21 07:31:46 sutherland99 cifs.upcall: ip=10.0.0.1
Nov 21 07:31:46 sutherland99 cifs.upcall: sec=1
Nov 21 07:31:46 sutherland99 cifs.upcall: uid=0
Nov 21 07:31:46 sutherland99 cifs.upcall: creduid=0
Nov 21 07:31:46 sutherland99 cifs.upcall: user=SUTHERLAND99$
Nov 21 07:31:46 sutherland99 cifs.upcall: pid=761
Nov 21 07:31:46 sutherland99 cifs.upcall: get_cachename_from_process_env: pid == 0
Nov 21 07:31:46 sutherland99 cifs.upcall: get_existing_cc: default ccache is FILE:/tmp/krb5cc_0
Nov 21 07:31:46 sutherland99 cifs.upcall: get_tgt_time: unable to get principal
Nov 21 07:31:46 sutherland99 cifs.upcall: krb5_get_init_creds_keytab: -1765328360
Nov 21 07:31:46 sutherland99 cifs.upcall: Exit status 1
Nov 21 07:31:46 sutherland99 kernel: [   12.504729] CIFS: VFS: Verify user has a krb5 ticket and keyutils is installed
Nov 21 07:31:46 sutherland99 kernel: [   12.504741] CIFS: VFS: \\server.corvi.linuxmuster.lan Send error in SessSetup = -126
Nov 21 07:31:46 sutherland99 kernel: [   12.504754] CIFS: VFS: cifs_mount failed w/return code = -126
Nov 21 07:31:46 sutherland99 onBoot[722]: * Error mounting share //server.corvi.linuxmuster.lan/sysvol to /srv/samba/SUTHERLAND99$/sysvol!
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [FATAL] * Error mounting share //server.corvi.linuxmuster.lan/sysvol to /srv/samba/SUTHERLAND99$/sysvol!
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [INFO] === Running local hook onBoot ===
Nov 21 07:31:46 sutherland99 onBoot[778]: id: »SUTHERLAND99$“: Einen solchen Benutzer gibt es nicht
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [WARNING] Exception when querying groups of user SUTHERLAND99$, it probaply does not exist
Nov 21 07:31:46 sutherland99 onBoot[780]: id: »SUTHERLAND99$“: Einen solchen Benutzer gibt es nicht
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [WARNING] Exception when querying groups of user SUTHERLAND99$, it probaply does not exist
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [ERROR] Cloud not bind to ldap!
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [ERROR] === An exception occurred ===
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [ERROR] {desc: Local error, info: SASL(-1): generic failure: GSSAPI Error: No credentials were supplied, or the credentials were unavailable or inaccessible (No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_0))}
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [ERROR] === end exception ===
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [ERROR] Cannot talk to LDAP
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [INFO] == Executing script /etc/linuxmuster-linuxclient7/onBoot.d/00_example.sh ==
Nov 21 07:31:46 sutherland99 onBoot[788]: onBoot.d Hook called with env:
Nov 21 07:31:46 sutherland99 onBoot[788]: Sysvol:
Nov 21 07:31:46 sutherland99 onBoot[788]: Domain: corvi.linuxmuster.lan
Nov 21 07:31:46 sutherland99 onBoot[788]: Server hostname: server.corvi.linuxmuster.lan
Nov 21 07:31:46 sutherland99 onBoot[788]: Room:
Nov 21 07:31:46 sutherland99 onBoot[788]: Hardware group:
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [INFO] ==> Script /etc/linuxmuster-linuxclient7/onBoot.d/00_example.sh finished with exit code 0 ==
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [INFO] ===> Finished running local hook onBoot ===
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [INFO] === Running remote hook onBoot ===
Nov 21 07:31:46 sutherland99 onBoot[799]: id: »SUTHERLAND99$“: Einen solchen Benutzer gibt es nicht
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [WARNING] Exception when querying groups of user SUTHERLAND99$, it probaply does not exist
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [ERROR] Cloud not bind to ldap!
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [ERROR] === An exception occurred ===
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [ERROR] {desc: Local error, info: SASL(-1): generic failure: GSSAPI Error: No credentials were supplied, or the credentials were unavailable or inaccessible (No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_0))}
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [ERROR] === end exception ===
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [ERROR] Cannot talk to LDAP
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [ERROR] Could not execute server hooks because the computer config could not be read
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [INFO] ===> Finished running remote hook onBoot ===
Nov 21 07:31:46 sutherland99 linuxmuster-linuxclient7: [INFO] ======> onBoot end ======




Nov 21 07:31:47 sutherland99 linuxmuster-linuxclient7: [INFO] ====== onLoginLogoutAsRoot started with PAM_TYPE=open_session PAM_RHOST=None PAM_RUSER=None PAM_SERVICE=gdm-launch-environment PAM_TTY=/dev/tty1 PAM_USER=gdm ======
Nov 21 07:31:47 sutherland99 linuxmuster-linuxclient7: [WARNING] Exception when querying groups of user SUTHERLAND99$, it probaply does not exist
Nov 21 07:31:47 sutherland99 linuxmuster-linuxclient7: [INFO] ==== This Client is not joined to any domain, exiting ====
Nov 21 07:31:47 sutherland99 linuxmuster-linuxclient7: [INFO] ======> onLoginLogoutAsRoot end ====

[...]

=== Linuxmuster-linuxclient7 logs end ===
=========================================
@dorianim
Copy link
Member

Hello @thoschi,
thanks for reporting. Unfortunately, I am too busy to look into this myself in the foreseeable future.
However, if someone comes up with a solution, I'm always happy to review a pull request.

@dorianim dorianim added help wanted Extra attention is needed needs confirmation Some more information is needed to confirm the root of the problem labels Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed needs confirmation Some more information is needed to confirm the root of the problem
Projects
None yet
Development

No branches or pull requests

2 participants