14 Answer(s)
-
0
-
0
hi
How to make the same modification on abp commercial?
https://docs.abp.io/en/commercial/latest/modules/account/ldap#customize-built-in-services
i have also one error.
This seems to be an issue with the LDAP server?
-
0
In fact it works half the time, maybe there is an asynchronous problem?
I need to overdrive only the NormalizeUserNameAsync method ?
-
0
I need to overdrive only the NormalizeUserNameAsync method ?
Yes You can give it a try
-
0
-
0
hi
Can you share the sample code include your username and password?
liming.ma@volosoft.com
-
0
Done
-
0
ok, I will check it asap.
-
0
in the sample i switch
Native.LdapVersion.LDAP_VERSION3
to thisNative.LdapVersion.LDAP_VERSION
But no in my abp project -
0
hi
I can't connect to
srad01.manuloc.local
. Maybe you can check on https://github.com/flamencist/ldap4netwe not very good at LDAP-related details.
-
0
ldapConnection.Connect(server, serverPort, Native.LdapSchema.LDAP, Native.LdapVersion.LDAP_VERSION2); var UserfName = $"cn={adminUserName},{baseDc}"; await ldapConnection.BindAsync(Native.LdapAuthType.Negotiate, new LdapCredential
Do you know where can i switch Native.LdapAuthType.Negotiate and Native.LdapVersion.LDAP_VERSION2 ?
-
0
I'm not sure. You can search on https://github.com/flamencist/ldap4net
-
0
I download the Volo.Account.Pro module but i dont't find where the ldap configuration is made.
-
0
hi
The class is
LdapExternalLoginProvider