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

Fixing erroneous SSSD.conf file header + QOL changes #15059

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

UndyingSoul
Copy link

Trying to get Truenas Scale LDAP to work with Authentik, I found a few issues in the sssd.conf template file, mainly the header being incorrect.

I also added some quality-of-life changes to help when debugging stuff like this.

@pcbsd-commit-bot
Copy link

Can one of the admins verify this patch?

@UndyingSoul
Copy link
Author

UndyingSoul commented Dec 1, 2024

This is as close as I got to getting Authentik to work with Truenas SCALE LDAP.

Still not mapping the email attribute, which makes sense since sssd doesn't support email.

It's also not mapping (on the UI) the groups a user is a part of. id <user> seems to have the right user groups, though.

Here's what I put in my Auxiliary Parameters section in the LDAP configuration.

# User attributes
ldap_user_name = cn
ldap_user_uid_number = uidNumber
ldap_user_object_class = user
ldap_user_shell = /bin/bash
override_shell = /bin/bash
ldap_user_extra_attrs = mail:mail # attempt at getting mail to work

# Group attributes
ldap_group_name = cn
ldap_group_gid_number = gidNumber
ldap_group_object_class = group

# Access control
ldap_access_filter = (ak-active=true)

# MemberOf Support
ldap_group_member = member
ldap_user_member_of = memberOf

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

Successfully merging this pull request may close these issues.

2 participants