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

Add check to krb5-user package #888

Open
kzz333 opened this issue May 29, 2024 · 0 comments
Open

Add check to krb5-user package #888

kzz333 opened this issue May 29, 2024 · 0 comments

Comments

@kzz333
Copy link

kzz333 commented May 29, 2024

Hello Maintainers,

  1. From [1], the "heimdal-clients" package is conflicted with "krb5-user" package.
$ apt-cache show krb5-user | grep -e Package: -e Conflicts:
Package: krb5-user
Conflicts: heimdal-clients
Package: krb5-user
Conflicts: heimdal-clients
  1. If "krb5-users" package had been removed, the end user may experience login failure intermittently behavior.

  2. Hence, suggested a check if sssd-krb5-common had been installed, will warn if "krb5-user" package is not installed. The check will be triggered if Ubuntu 22 or older is used. The warning message does not suggest to force the package installation if no login fails intermittently issue.

if [ `lsb_release -rs | cut -f1 -d.` -le 22 ]; then
    if [ `dpkg -l | grep sssd-krb5-common | wc -l` -ne 0 ]; then
        if [ `dpkg -l | grep krb5-user | wc -l` -eq 0 ]; then
            echo '"sssd-krb5-common" is installed but "krb5-user" package is not installed. If the login fails intermittently, please install the "krb5-user" package. Please check with "apt-cache show krb5-user | grep -e Package: -e Conflicts:"'
        fi
    fi
fi

Thank you.

Best Regards,
Koo

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810681

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant