Jump to content

LDAP 1.0.44 update causes 'Could not load file or assembly'


Go to solution Solved by Luke,

Recommended Posts

maxxoverclocker
Posted

After plugin update from 1.0.43 to 1.0.44, LDAP authentication no longer works. I validated reverting to 1.0.43 (LDAP.dll) from backup does work.

---

2024-11-08 06:55:00.499 Error UserManager: Error authenticating with provider LDAP
    *** Error Report ***
    Version: 4.8.10.0
    Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
    Operating system: Linux version 5.15.0-105-generic (buildd@lcy02-amd64-007) (gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #115-Ubun
    Framework: .NET 6.0.31
    OS/Process: x64/x64
    Runtime: system/System.Private.CoreLib.dll
    Processor count: 6
    Data path: /config
    Application path: /system
    System.IO.FileNotFoundException: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Bcl.AsyncInterfaces, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
    
    File name: 'Microsoft.Bcl.AsyncInterfaces, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
       at LDAP.AuthenticationProvider.Authenticate(String username, String password)
       at Emby.Server.Implementations.Library.UserManager.AuthenticateWithProvider(IAuthenticationProvider provider, String username, String password, User resolvedUser, CancellationToken cancellationToken)
    Source: LDAP
    TargetSite: System.Threading.Tasks.Task`1[MediaBrowser.Controller.Authentication.ProviderAuthenticationResult] Authenticate(System.String, System.String)

Posted

Hi, can you please attach the complete emby server log file? Thanks !

maxxoverclocker
Posted (edited)

Environment is:

Ubuntu 22.04.4 LTS (Linux 5.15.0-105-generic x86_64)
Docker version 24.0.5, build 24.0.5-0ubuntu1~22.04.1
Emby 4.8.10.0

I also don't know .net but I did try placing the version of the .dll requested [8.0.0.0] (https://www.nuget.org/packages/Microsoft.Bcl.AsyncInterfaces/) both in /system and /config/plugins to no avail, but I bet that's not the correct way to resolve it.

Edited by maxxoverclocker
  • Solution
Posted

OK, please let us know if the 1.0.45 ldap plugin update resolves it. Thanks.

maxxoverclocker
Posted
1 minute ago, Luke said:

OK, please let us know if the 1.0.45 ldap plugin update resolves it. Thanks.

confirmed, looks good on my test instance. Thanks!

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...