Open Closed

LDAP Login is enable ,login error( linux docker ) #8511


User avatar
0
heshengli created
  • ABP Framework version: v7.2.2
  • UI Type: Blazor Server
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

System.DllNotFoundException: Unable to load shared library 'ldap.so.2' or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable: /usr/share/dotnet/shared/Microsoft.NETCore.App/7.0.10/ldap.so.2.so: cannot open shared object file: No such file or directory /app/ldap.so.2.so: cannot open shared object file: No such file or directory /usr/share/dotnet/shared/Microsoft.NETCore.App/7.0.10/libldap.so.2.so: cannot open shared object file: No such file or directory /app/libldap.so.2.so: cannot open shared object file: No such file or directory /usr/share/dotnet/shared/Microsoft.NETCore.App/7.0.10/ldap.so.2: cannot open shared object file: No such file or directory /app/ldap.so.2: cannot open shared object file: No such file or directory /usr/share/dotnet/shared/Microsoft.NETCore.App/7.0.10/libldap.so.2: cannot open shared object file: No such file or directory /app/libldap.so.2: cannot open shared object file: No such file or directory

at LdapForNet.Native.NativeMethodsLinux.ldap_initialize(IntPtr& ld, String uri) at LdapForNet.Native.LdapNativeLinux.Init(IntPtr& ld, String url) at LdapForNet.LdapConnection.Connect(String url, LdapVersion version) at LdapForNet.LdapConnectExtensions.Connect(ILdapConnection connection, Uri uri, LdapVersion version) at LdapForNet.LdapConnectExtensions.Connect(ILdapConnection connection, String hostname, Int32 port, LdapSchema ldapSchema, LdapVersion version) at Volo.Abp.Identity.ExternalLoginProviders.Ldap.OpenLdapManager.ConnectAsync(ILdapConnection ldapConnection) at Volo.Abp.Ldap.LdapManager.CreateLdapConnectionAsync() at Volo.Abp.Ldap.LdapManager.AuthenticateAsync(String username, String password)


1 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Member

    Hello ,

    Can you check this https://github.com/flamencist/ldap4net/blob/master/linux.md

    Thank you.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 16, 2025, 12:13