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

Re-enable LDAP system tests + Test LDAP StartTLS() + Fixes #99

Merged
merged 2 commits into from Feb 2, 2017

Conversation

yuva29
Copy link
Contributor

@yuva29 yuva29 commented Feb 1, 2017

Windows VM kept shutting because of the expired license(which caused the tests to fail).

Below are the changes made to the AD VM:

  1. Extended the license for another 30 days as suggested here Windows license is expired xdissent/ievms#22 (Seems to be working fine)
  2. Enabled LDAP over SSL so we can test SSL/TLS connections.

This PR also contains fixes for the bugs(LDAP config update) identified during testing.

Signed-off-by: Yuva Shankar yuva29@users.noreply.github.com

@yuva29 yuva29 requested review from dseevr and rhim February 1, 2017 23:19
Copy link
Contributor

@rhim rhim left a comment

Choose a reason for hiding this comment

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

Some nits. Please clean up.

@@ -220,6 +220,8 @@ func (lm *Manager) connect() (*ldap.Conn, error) {
// switch to TLS if specified; this needs to have certs in place
// TODO: yet to be tested
Copy link
Contributor

Choose a reason for hiding this comment

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

Take this out?

// c.Assert(token, Equals, "")
// c.Assert(resp.StatusCode, Equals, 401)
// c.Assert(err, IsNil)
// XXX: test login using TLS
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove comment.

Signed-off-by: Yuva Shankar <yuva29@users.noreply.github.com>
…config update)

Signed-off-by: Yuva Shankar <yuva29@users.noreply.github.com>
@yuva29 yuva29 merged commit ad96434 into contiv:master Feb 2, 2017
@yuva29 yuva29 deleted the fix_#172 branch February 2, 2017 17:50
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