Skip to content

Conversation

@bzh-bzh
Copy link
Contributor

@bzh-bzh bzh-bzh commented Oct 1, 2018

…is being removed from anonymous LDAP searches.

please let me know if i missed anything for account creation that uses this attribute

Copy link
Member

@abizer abizer left a comment

Choose a reason for hiding this comment

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

You'll need to fix the tests, and I don't think this will actually successfully deploy until I can fix puppetdb, which I will work on.

Copy link
Member

@jvperrin jvperrin left a comment

Choose a reason for hiding this comment

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

Looks good besides the tests.

I'd also put a TODO comment by each of these to let people know that they should be re-enabled in the future. Generally otherwise, I'd assume commented-out code could be removed, so giving some reason for why it should stay is a good practice.

Copy link
Member

@kkuehlz kkuehlz left a comment

Choose a reason for hiding this comment

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

thanks!

heads up: you might want to truncate the first line of your commit. wraps after 72 chars

@bzh-bzh bzh-bzh force-pushed the ldap-affil-monkeypatch branch from 02ee742 to 6ea4125 Compare October 1, 2018 05:05
berkeleyEduAffiliations is being removed from anonymous LDAP searches.
@bzh-bzh bzh-bzh force-pushed the ldap-affil-monkeypatch branch from f9af792 to a7f4598 Compare October 1, 2018 05:49
attrs_ucb = user_attrs_ucb(attrs['calnetUid'])
if attrs_ucb and 'EMPLOYEE-TYPE-ACADEMIC' in attrs_ucb['berkeleyEduAffiliations']:
# TODO: Uncomment when we get a privileged LDAP bind.
if attrs_ucb: # and 'EMPLOYEE-TYPE-ACADEMIC' in attrs_ucb['berkeleyEduAffiliations']:
Copy link
Member

Choose a reason for hiding this comment

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

This will permit arbitrary members of the OCF to submit vhost requests. You ought to be prepared for that.

@jvperrin jvperrin merged commit a443fc8 into ocf:master Oct 1, 2018
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.

5 participants