diff options
Diffstat (limited to 'roles/jellyfin/templates/var/lib')
-rw-r--r-- | roles/jellyfin/templates/var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml.j2 | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/roles/jellyfin/templates/var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml.j2 b/roles/jellyfin/templates/var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml.j2 new file mode 100644 index 0000000..5326ff2 --- /dev/null +++ b/roles/jellyfin/templates/var/lib/jellyfin/plugins/configurations/LDAP-Auth.xml.j2 @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<PluginConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> + <LdapServer>{{ jellyfin_ldap_server }}</LdapServer> + <LdapPort>636</LdapPort> + <UseSsl>true</UseSsl> + <UseStartTls>false</UseStartTls> + <SkipSslVerify>false</SkipSslVerify> + <LdapBindUser>uid={{ jellyfin_sysaccount_username }},{{ freeipa_sysaccount_basedn }}</LdapBindUser> + <LdapBindPassword>{{ jellyfin_sysaccount_password }}</LdapBindPassword> + <LdapBaseDn>{{ freeipa_user_basedn }}</LdapBaseDn> + <LdapSearchFilter>(memberOf=cn={{ jellyfin_access_group }},{{ freeipa_group_basedn }})</LdapSearchFilter> + <LdapAdminBaseDn /> + <LdapAdminFilter>(memberOf=cn={{ jellyfin_admin_group }},{{ freeipa_group_basedn }})</LdapAdminFilter> + <LdapSearchAttributes>uid</LdapSearchAttributes> + <EnableCaseInsensitiveUsername>false</EnableCaseInsensitiveUsername> + <CreateUsersFromLdap>true</CreateUsersFromLdap> + <AllowPassChange>false</AllowPassChange> + <LdapUsernameAttribute>uid</LdapUsernameAttribute> + <LdapPasswordAttribute>userPassword</LdapPasswordAttribute> + <EnableAllFolders>true</EnableAllFolders> + <EnabledFolders /> + <PasswordResetUrl /> +</PluginConfiguration> |