Hello, guys,

I am running FreeIPA at home, and I can enroll clients just fine. The issue I am facing, however, is with Fedora. If I have it enrolled, I can only log in with the single user I have set in the enterprise login. No other FreeIPA user is able to log in. When you try to log in with any other account, you get the message “Sorry, password authentication didn’t work, please try again,” even when the password is 100% correct. I am only facing this with Fedora; Ubuntu and openSUSE work just fine, and people are, in fact, able to log in.

Additionally, when attempting to log in with a FreeIPA user, it does display the user’s full name as set in FreeIPA, indicating that a connection is present.

EDIT: Figured it out. for some reason on fedora inside sssd.conf it automatically adds “simple_allow_users” and on ubuntu and opensuse it doesn’t do this. Removing this single line in the config file allows other users to login.

  • MigratingtoLemmy@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    9 months ago

    Did you make sure that you enabled “Any host” in the login parameters (or whatever it’s called, I forget) or specified the host that you’re trying to log into using your user?

    • kylian0087@lemmy.worldOP
      link
      fedilink
      arrow-up
      3
      ·
      9 months ago

      Is this something you set on the client it self or on the freeipa server for the host?. I never set such a option for any client though. i did enroll the other clients with the “freeipa-client-install” command and tried fedora with the initial setup. so their might be a difference in it how to enrolls?

    • jollyrogue
      link
      fedilink
      arrow-up
      3
      ·
      9 months ago

      Yep. The accounts don’t have permissions to log into the machine.

      OP needs to fix the perms in FreeIPA. There are several ways todo this, and I’m not around a FreeIPA server at the moment.

      • kylian0087@lemmy.worldOP
        link
        fedilink
        arrow-up
        2
        ·
        9 months ago

        I found the allow_all rule that is enabled. Mind you it is only on fedora I seem to have this issue with. Ubuntu and opensuse users can login just fine.

        • jollyrogue
          link
          fedilink
          arrow-up
          2
          ·
          9 months ago

          That doesn’t change the fix.

          The accounts need to be allowed to login to the host in FreeIPA.