Skip to content
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

Add dotnet sample for Active Directory LDAP with Kerberos #794

Open
wants to merge 1 commit into
base: master
from
Open

Add dotnet sample for Active Directory LDAP with Kerberos #794

wants to merge 1 commit into from

Conversation

@smhmhmd
Copy link

@smhmhmd smhmhmd commented Jan 6, 2021

Issue #, if available:

Description of changes:
This function can be used with AWS Directory Services or Windows Active Directory for LDAP related operations.
LDAP authentication done using a keytab file and a username.
This lambda must be placed in the same VPC as AWS Directory Services.
Also, DNS name must be enabled in the DHCP option set of the VPC so that the directory can be accessed using directory name. Also, add S3 endpoint as per https://aws.amazon.com/blogs/aws/new-vpc-endpoint-for-amazon-s3/

 Example JSON input :
         {
           "directoryName": "XXX.YYY.com",
           "userName": "USER",
           "baseDN": "DC=XXX,DC=YYY,DC=com",
           "keytabFileS3Url": "s3://KEYTABLOCATION/my.keytab",
            "filter": "(objectClass=*)"
        }

This is potentially a fix for #341

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant