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

Photon OS 5.0 and sssd #1516

Open
MAHDTech opened this issue Oct 27, 2023 · 3 comments
Open

Photon OS 5.0 and sssd #1516

MAHDTech opened this issue Oct 27, 2023 · 3 comments

Comments

@MAHDTech
Copy link

Is your feature request related to a problem? Please describe.

I'm looking for some documentation on how to connect Photon OS 5.0 to Active Directory.

Now that likewise is removed, is sssd the preferred option?

Describe the solution you'd like

A wiki page with some tips on sssd and how to configure pam for ssh and console logins.

Describe alternatives you've considered

Red Hat and Canonical documentation gets close, but seems I'm missing some steps that are Photon specific.

Additional context

No response

@MAHDTech
Copy link
Author

Is it possible to get realm added as a package in PhotonOS, would make this process much easier.

@novaksam
Copy link

I'm observing that access_provider doesn't appear to work at all on photon, so yeah, we need some help.

@novaksam
Copy link

Ok, figured out my issue.

default /etc/pam.d/system-account

# Begin /etc/pam.d/system-account
account   sufficient    pam_unix.so
account   [default=bad success=ok user_unknown=ignore] pam_sss.so
# End /etc/pam.d/system-account

fixed /etc/pam.d/system-account (tweaked based on centos pam files)

# Begin /etc/pam.d/system-account
account   required    pam_unix.so
account   sufficient    pam_localuser.so
account   sufficient    pam_usertype.so issystem
account   [default=bad success=ok user_unknown=ignore] pam_sss.so
account   required      pam_permit.so
# End /etc/pam.d/system-account

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

No branches or pull requests

2 participants