Ipsilon: configure SSSd

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2020-10-08 12:29:37 +02:00
parent f4684a1f07
commit 1ca3aff8f1
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD
3 changed files with 31 additions and 2 deletions

View file

@ -0,0 +1,5 @@
- name: restart sssd
service:
name: sssd
state: restarted

View file

@ -196,6 +196,8 @@
tags:
- ipsilon
- config
notify:
- restart apache
# - name: Create Ipsilon config symlink
# file:
@ -305,3 +307,25 @@
setype: httpd_sys_content_t
tags:
- ipsilon
- name: configure SSSd to forward additional attributes (1/2)
replace:
path: /etc/sssd/sssd.conf
regexp: ^ldap_user_extra_attrs = [\w,\s]+$
replace: ldap_user_extra_attrs = mail, street, locality, st, postalCode, telephoneNumber, givenname, sn, fasTimeZone, fasLocale, fasIRCNick, fasGPGKeyId, fasCreationTime, fasStatusNote, fasRHBZEmail, fasGitHubUsername, fasGitLabUsername, fasWebsiteURL, fasIsPrivate
tags:
- ipsilon
- config
notify:
- restart sssd
- name: configure SSSd to forward additional attributes (2/2)
replace:
path: /etc/sssd/sssd.conf
regexp: ^user_attributes = [\w,\s+]+$
replace: user_attributes = +mail, +street, +locality, +st, +postalCode, +telephoneNumber, +givenname, +sn, +fasTimeZone, +fasLocale, +fasIRCNick, +fasGPGKeyId, +fasCreationTime, +fasStatusNote, +fasRHBZEmail, +fasGitHubUsername, +fasGitLabUsername, +fasWebsiteURL, +fasIsPrivate
tags:
- ipsilon
- config
notify:
- restart sssd

View file

@ -1,7 +1,7 @@
#RewriteEngine on
#RewriteRule /.well-known/openid-configuration /openidc/.well-known/openid-configuration [PT]
#Alias /ui /usr/share/ipsilon/themes/Fedora
Alias /ui /usr/share/ipsilon/ui
#Alias /ui /usr/share/ipsilon/ui
Alias /ui /usr/share/ipsilon/themes/Fedora
Alias /.well-known /var/lib/ipsilon/idp/public/well-known
Alias /cache /var/cache/ipsilon
Redirect /.well-known/webfinger /webfinger