this post was submitted on 18 Feb 2024
16 points (90.0% liked)

Linux

48328 readers
659 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

all 11 comments
sorted by: hot top controversial new old
[–] MigratingtoLemmy@lemmy.world 3 points 9 months ago (2 children)

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?

[–] jollyrogue@lemmy.ml 3 points 9 months ago (1 children)

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.world 2 points 9 months ago (1 children)

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@lemmy.ml 2 points 9 months ago

That doesn’t change the fix.

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

[–] kylian0087@lemmy.world 3 points 9 months ago (1 children)

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?

[–] MigratingtoLemmy@lemmy.world 2 points 9 months ago* (last edited 9 months ago) (2 children)

Ah, my apologies - that was for sudo rules. No, I don't think you'd need to define that whilst setting up the user.

Maybe this video will help you a bit: https://www.youtube.com/watch?v=GAHVU42ouOE&t=335s

Also, check the authentication methods you enabled for the user

[–] kylian0087@lemmy.world 1 points 9 months ago

I found the allow_all rule and it is enabled.

[–] PipedLinkBot@feddit.rocks 1 points 9 months ago

Here is an alternative Piped link(s):

https://www.piped.video/watch?v=GAHVU42ouOE&t=335s

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.