-
Notifications
You must be signed in to change notification settings - Fork 196
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
LDAP integration with Windows Active Directory for Uyuni GUI Auth. #9597
Comments
@aaannz do you know if we have some more documentation on this one? |
Hmm.. not yet. I did not push my examples to the docs yet. Use snipped below after changing: $domain - set you domain name /etc/sssd/sssd.conf: [sssd]
config_file_version = 2
services = nss, pam
domains = $domain
[nss]
[pam]
[domain/$domain]
id_provider = ad
chpass_provider = ad
access_provider = ad
auth_provider = ad
ad_domain = $domain
ad_server = $ad_server
ad_hostname = $uyuni-hostname
ad_gpo_map_network = +susemanager
krb5_keytab = FILE:/etc/rhn/krb5.conf.d/krb5.keytab
krb5_ccname_template = FILE:/tmp/krb5cc_%{uid} |
* example for LDAP integration with Active Directory https://bugzilla.suse.com/show_bug.cgi?id=1233696 SUSE/spacewalk#25863 uyuni-project/uyuni#9597
* example for LDAP integration with Active Directory https://bugzilla.suse.com/show_bug.cgi?id=1233696 SUSE/spacewalk#25863 uyuni-project/uyuni#9597
…) (#3586) * example for LDAP integration with Active Directory (#3580) https://bugzilla.suse.com/show_bug.cgi?id=1233696 SUSE/spacewalk#25863 uyuni-project/uyuni#9597
Hi again, I did your suggested configuration in etc/sssd/sssd.conf file. But there is no any integration section in this configuration(service account, ad ldap or ldaps port etc.) If you use uyuni server which it run in container, you must configure sssd.conf file which it is in volume path (/var/lib/containers/storage/volumes/etc-sssd/_data). We realized that you do not distinction exaclty between container and legacy installation and configurations docs. Actually we do not understand that how can we comminuicate between ad and uyuni server. We want to use ad user to auth in uyuni gui. Is it possible ? thanks for your help 🙏 |
Communication between AD and uyuni is done through PAM. Uyuni asks PAM to authenticate the user, PAM asks SSSD, SSSD asks AD. Note that this is done only for authentication. Authorization is not done through it so in other words, you will still need to create an user in the Uyuni WebUI, but without password and selected PAM auth.
For details about sssd.conf and how to configure AD LDAP, etc. see sssd-ad man page and from there related sssd-ldap and sssd-krb5 configurations. Basically AD is wrapper around those other modules inheriting their configs + some overrides.
Yes, for anything uyuni server related it must be done in container volume. |
hi @aaannz thank you for your reply 🙏 |
No, only LDAP+KRB5 and AD sssd configurations were tested. |
Question
Hi,
I want to auth with AD user to Uyuni GUI. But I do not understand exactly uyuni docs (https://www.uyuni-project.org/uyuni-docs/en/uyuni/administration/auth-methods-pam.html). How can I configure ? Please give me details about config files to configure ldap integration.
The text was updated successfully, but these errors were encountered: