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
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions src/middlewared/middlewared/etc_files/sssd/sssd.conf.mako
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# NSLCD.CONF(5) The configuration file for LDAP nameservice daemon
# SSSD.CONF(5) The configuration file for SSSD
#
<%
from middlewared.plugins.etc import FileShouldNotExist
Expand Down Expand Up @@ -84,17 +84,23 @@ enumerate = ${not ldap['disable_freenas_cache']}
% if kerberos_realm:
ldap_sasl_mech = GSSAPI
ldap_sasl_realm = ${kerberos_realm}
% if ldap['kerberos_principal']:
% if ldap['kerberos_principal']:
ldap_sasl_authid = ${ldap['kerberos_principal']}
% endif
% endif
% endif
timeout = ${ldap['timeout']}
ldap_schema = ${ldap['schema'].lower()}
min_id = ${min_uid}
${'\n '.join(search_params)}
${'\n '.join(map_params)}
% if search_params:
# Search Parameters
${'\n'.join(search_params)}
% endif
% if search_params:
# Map Parameters
${'\n'.join(map_params)}
% endif
% if aux:
${'\n '.join(aux)}
${'\n'.join(aux)}
% endif
% elif ds_type == DSType.IPA.value:
[sssd]
Expand Down