Jellyfin LDAP
This commit is contained in:
@@ -12,6 +12,12 @@ let
|
|||||||
ExposedPorts = { "8096/tcp" = { }; };
|
ExposedPorts = { "8096/tcp" = { }; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
#LDAP_DC_DOMAIN = "dc=ldap,dc=helcel,dc=net"
|
||||||
|
#HOST=...
|
||||||
|
#LDAP_BIND_USER=ldap-sa
|
||||||
|
#LDAP_BIND_PASSWORD=...
|
||||||
|
#LDAP_GROUP=flix
|
||||||
|
#LDAP_ADMIN=admin
|
||||||
in {
|
in {
|
||||||
paths = [
|
paths = [
|
||||||
{
|
{
|
||||||
|
|||||||
29
modules/server/containers/data/jellyfin/LDAP-Auth.xml
Normal file
29
modules/server/containers/data/jellyfin/LDAP-Auth.xml
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
<?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">
|
||||||
|
<LdapUsers />
|
||||||
|
<LdapServer>@HOST@</LdapServer>
|
||||||
|
<LdapPort>389</LdapPort>
|
||||||
|
<UseSsl>false</UseSsl>
|
||||||
|
<UseStartTls>false</UseStartTls>
|
||||||
|
<SkipSslVerify>true</SkipSslVerify>
|
||||||
|
<LdapBindUser>cn=@LDAP_BIND_USER@,ou=users,@LDAP_DC_DOMAIN@</LdapBindUser>
|
||||||
|
<LdapBindPassword>@LDAP_BIND_PASSWORD@</LdapBindPassword>
|
||||||
|
<LdapBaseDn>@LDAP_DC_DOMAIN@</LdapBaseDn>
|
||||||
|
<LdapSearchFilter>(memberOf=cn=@LDAP_GROUP@,ou=groups,@LDAP_DC_DOMAIN@)</LdapSearchFilter>
|
||||||
|
<LdapAdminBaseDn />
|
||||||
|
<LdapAdminFilter>(memberOf=cn=@LDAP_ADMIN@,ou=groups,@LDAP_DC_DOMAIN@)</LdapAdminFilter>
|
||||||
|
<EnableLdapAdminFilterMemberUid>false</EnableLdapAdminFilterMemberUid>
|
||||||
|
<LdapSearchAttributes>uid, cn, mail, displayName</LdapSearchAttributes>
|
||||||
|
<LdapClientCertPath />
|
||||||
|
<LdapClientKeyPath />
|
||||||
|
<LdapRootCaPath />
|
||||||
|
<CreateUsersFromLdap>true</CreateUsersFromLdap>
|
||||||
|
<AllowPassChange>false</AllowPassChange>
|
||||||
|
<LdapUidAttribute>uid</LdapUidAttribute>
|
||||||
|
<LdapUsernameAttribute>cn</LdapUsernameAttribute>
|
||||||
|
<LdapPasswordAttribute>userPassword</LdapPasswordAttribute>
|
||||||
|
<EnableLdapProfileImageSync>false</EnableLdapProfileImageSync>
|
||||||
|
<LdapProfileImageAttribute>jpegphoto</LdapProfileImageAttribute>
|
||||||
|
<EnableAllFolders>true</EnableAllFolders>
|
||||||
|
<EnabledFolders />
|
||||||
|
<PasswordResetUrl />
|
||||||
Reference in New Issue
Block a user