diff options
author | Stonewall Jackson <stonewall@sacredheartsc.com> | 2023-02-04 01:23:43 -0500 |
---|---|---|
committer | Stonewall Jackson <stonewall@sacredheartsc.com> | 2023-02-04 01:52:13 -0500 |
commit | 0261e875679f1bf63c8d689da7fc7e014597885d (patch) | |
tree | 3f19cd74a0c1070944f75437f30b098d6ef2ffcb /roles/jellyfin/templates/var | |
download | selfhosted-0261e875679f1bf63c8d689da7fc7e014597885d.tar.gz selfhosted-0261e875679f1bf63c8d689da7fc7e014597885d.zip |
initial commit
Diffstat (limited to 'roles/jellyfin/templates/var')
-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> |