Starts in:
1 DAY
13 HRS
15 MIN
34 SEC
Starts in:
1 D
13 H
15 M
34 S

Activities of "albert.ogbekhilu"

Hello Support,

We are implementing a solution that requires extending Organization unit & User entity by adding new fields to the entity and we expect that added fields will be created as new columns in the database of both AbpOrganizationunit & AbpUser table.

In addition, how can other microservices build using module template get these additional fields from OrganizationUnit and IdentityUser

Thank you,

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: v3.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Seperated (Angular): yes

How can i customize the default error handler for the RestService. I've read through the documentation here link to documentation but it only explains how to disable it per api using the skipHandleError config option. Is there a way I can customize it globally so I can display a toast message instead of the popup modal or full page error (especially the full page errors when a service is not available).

Secondly, is there a way to modify the title for a business exception throw from the backend or restyle the modal, the documentation only mentioned the message link to documentation

Hi muratdogan@hitit.edu.tr, You need to enable from the tenants, Administration > SAAS > Tenants There's a button Manage host features, you should be able to enable it from there, under the account tab

Hi maliming Thanks, I was able to add a new LdapExternalLoginProvider & override the NormalizeUserName() function to use cn instead uid & it works

One more question there's an Authenticate() function being called in the TryAuthenticateAsync() but it's not in the OpenLdapManager class, I think it's from the LdapManager class that is inherited by the OpenLdapManager, is there a way to see the source code for the Autheticate() function?

public override async Task<bool> TryAuthenticateAsync(string userName, string plainPassword)
        {
            if (!await FeatureChecker.IsEnabledAsync(AccountFeature.EnableLdapLogin))
            {
                Logger.LogWarning("Ldap login feature is not enabled!");
                return false;
            }

            if (!await SettingProvider.IsTrueAsync(AccountSettingNames.EnableLdapLogin))
            {
                Logger.LogWarning("Ldap login setting is not enabled!");
                return false;
            }

            return LdapManager.Authenticate(NormalizeUserName(userName), plainPassword);
        }

Okay thanks, to customize it, can I still follow the steps HERE which is from version 2.9 pr is there a diifferent documentation I can lookup?

Yes, I know, I was asking if the value base domain component has to be dc=domain or if it can just be domain?

For the domain component does it have to be structured as dc=abp or can I use just abp

I've supplied the necessary value but I'm getting the error below LdapException: Invalid Credentials (49) Invalid Credentials LdapException: Server Message: 80090308: LdapErr: DSID-0C090453, comment: AcceptSecurityContext error, data 52e, v3839 LdapException: Matched DN:

The ldap credentials used are correct & have been tested with ldp.exe & telnet.

Please is there a way we can log values that are been used by OpenLdapManager?

Okay, thanks I found the settings, but I have some follow up questions,

  1. Whats base domain component
  2. Do I need to supply a username & password or is it optional
  3. Do I need to make any modification to the code or does it work out of the box
  4. This is not related to LDAP both is there a way to disable or override the errorHandling for the RestService globalyl, or do I have do it per api?
Question

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: v3.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Seperated (Angular): yes

What the steps to setup LDAP, I've checked the website but I didn't find any documentation for setting up LDAP

Showing 1 to 9 of 9 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06