-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Module For LDAP #1189
Comments
used |
how to test?
docker pull osixia/openldap
docker run --name ldap -d --env LDAP_ORGANISATION="abp" --env LDAP_DOMAIN="abp.com" --env LDAP_ADMIN_PASSWORD="123456" -p 389:389 -p 636:639 --detach osixia/openldap
"LDAP": {
"ServerHost": "127.0.0.1",
"ServerPort": 636,
"UseSSL": true,
"Credentials": {
"DomainUserName": "[email protected]", // or cn=admin,dc=abp,dc=com
"Password": "123456"
},
"SearchBase": "DC=abp,DC=com",
"DomainName": "abp.com",
"DomainDistinguishedName": "DC=abp,DC=com"
} |
Great! Would you like to send a PR? I can copy it, but I like that you have a contribution in the contributors list. |
Does LDAP authentication in abp.io work in multitenant environment (for instance in ANZ you have to disable multitenancy if you want using LDAP)? |
hi @leonkosak We will make it support multi-tenancy. : ) #4983 |
@maliming I have scenario to authenticate via local Active Directory (AD). I am confused how to properly implement this external login. Could you please describe steps how to properly implement this integration (robust and secure)? |
hi @leonkosak Please create a new issue. |
Source Volo.Abp.Ldap
UnitTest Volo.Abp.Ldap.Tests
Because the unit test requires environment for AD.
I have skipped all the tests when I submitted the code.
I have passed all the tests in the local.
Volo.Abp.Ldap
Only Authenticate(not read/write AD)
Configure
add section in
appsettings.json
use SSL
not use SSL
Authenticate
Injecting
ILdapManager
into a class. For example:userName
must be full domain name. E.g [email protected]Read/Write AD
Configure
use SSL
not use SSL
Credentials:DomainUserName
a administrator of AD.Credentials:Password
the password for the administrator.SearchBase
: where search from AD.DomainName
: name of you domain. no needwww
.DomainDistinguishedName
: distinguished name of root domain.Query Organizations
Query Organization
Add Organization
Query Users
Query User
Add User
The text was updated successfully, but these errors were encountered: