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

LDAP driver for the groupprovider service #1464

Merged
merged 2 commits into from
Feb 11, 2021
Merged

Conversation

ishank011
Copy link
Contributor

No description provided.

@ishank011 ishank011 mentioned this pull request Feb 9, 2021
2 tasks
@lgtm-com
Copy link

lgtm-com bot commented Feb 9, 2021

This pull request introduces 4 alerts when merging 0079b01 into 990ed1b - view on LGTM.com

new alerts:

  • 4 for Disabled TLS certificate check

// Default attributes (Active Directory)
var ldapDefaults = attributes{
DN: "dn",
GID: "objectGUID", // you can fall back to samaccountname but you will run into trouble when group names change. You have been warned.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or we default to a more posix like schema. for all ... but we need to decide ... which is ldap server we are going to support by default.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I got this from https://docs.microsoft.com/en-us/azure/active-directory/hybrid/plan-connect-design-concepts#using-ms-ds-consistencyguid-as-sourceanchor.

Use ms-DS-ConsistencyGuid as the sourceAnchor attribute for User objects. ObjectGUID is used for other object types.

But I can change it back to ms-DS-ConsistencyGuid.

// Default attributes (Active Directory)
var ldapDefaults = attributes{
DN: "dn",
GID: "objectGUID", // you can fall back to samaccountname but you will run into trouble when group names change. You have been warned.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or we default to a more posix like schema. for all ... but we need to decide ... which is ldap server we are going to support by default.

@lgtm-com
Copy link

lgtm-com bot commented Feb 9, 2021

This pull request introduces 4 alerts when merging 186848b into 990ed1b - view on LGTM.com

new alerts:

  • 4 for Disabled TLS certificate check

@labkode labkode merged commit 0abefc3 into cs3org:master Feb 11, 2021
@ishank011 ishank011 deleted the ldap-groups branch February 11, 2021 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants