Jon Ruskin
272c61d02f
fix tls_options on nil input
2017-06-06 11:13:44 -07:00
Dirkjan Bussink
5a50c9cd75
Expose TLS options directly
2017-06-06 10:41:34 +02:00
Sean Bryant
a7380b20ff
Fix up tests
2017-06-05 18:24:57 -07:00
Sean Bryant
d2be945fe9
Missed a couple of empty tls_options
2017-06-05 18:14:46 -07:00
Sean Bryant
07adb9baab
Update test to reflect verify_mode
2017-06-05 18:06:13 -07:00
Jon Ruskin
c800766313
Enable TLS validation
...
enable by setting `validate_encryption: true` on initialization options
2017-06-01 17:53:09 -07:00
Colin Seymour
9315cee551
Use port from options
...
We don't care too much about the port in testing. Using the port in the options allows us to test against ApacheDS and OpenLDAP without adding any additional conditionals.
2016-09-16 16:28:02 +01:00
Colin Seymour
7be5c555d3
Merge master and manually resolve merge conflicts
2016-09-08 16:59:51 +01:00
Dave Sims
27cf716c65
move mocha requirement to test_helper
2016-08-04 18:53:04 -05:00
Dave Sims
3bc3979429
Remove unneded test & condition
2016-08-04 12:06:50 -05:00
Dave Sims
c3ac0b32b1
Don't fall back on default user search for non-AD controllers
2016-08-04 11:53:07 -05:00
Dave Sims
0b22addb4b
Configure user search consistent with other config strategies
2016-08-04 11:13:24 -05:00
Dave Sims
89eca1e3e9
More tests for user search strategy
2016-08-03 23:18:34 -05:00
Dave Sims
32840bc2f9
Removed dead code -- was moved to its own class
2016-08-03 22:54:58 -05:00
Dave Sims
f550ce5dd7
Configure user search strategy
2016-08-03 22:53:57 -05:00
Dave Sims
ad67b78cb4
Created new ActiveDirectory user search class; moved tests
2016-08-01 17:44:48 -05:00
Dave Sims
9e9f9e961f
Drop message in test
2016-07-25 17:40:16 -05:00
Dave Sims
d69b0ba564
Use assert_nil
2016-07-25 17:39:19 -05:00
Dave Sims
ab2d49a1b4
Set auth method for Global Catalog explicitly to :simple
2016-07-25 13:46:01 -05:00
Dave Sims
baef44dc68
Test for default instrumentation service on Global Catalog
2016-07-25 10:40:02 -05:00
Dave Sims
8244f7c484
Only initialize global catalog if server is Active Directory
2016-07-25 10:38:26 -05:00
Dave Sims
c03c0de418
Split up auth'd, unauth'd and global default settings tests
2016-07-25 10:12:07 -05:00
Dave Sims
a23ccef696
Test format of Global Catalog search results
2016-07-25 10:08:17 -05:00
Dave Sims
203063d6e6
Add tests for auth & unauth default Global Catalog settings
2016-07-25 09:51:40 -05:00
Colin Seymour
65e653987f
Add tests for `hosts` option
2016-04-11 16:41:39 +01:00
Matt Todd
5cfcb2f645
Bring back further to v51 for 2k3+ support
2015-02-02 14:44:59 -08:00
Matt Todd
e219da1cb8
Expand AD caps support to v60
...
This adds support for Windows Server 2008 and above, instead of
only 2008 R2 and above.
2015-02-02 14:30:48 -08:00
Matt Todd
42ffdb659c
Test search strategy config, detection, defaults
2014-12-05 18:45:22 -08:00
Matt Todd
7cd4bc84f3
Move membership validator config tests to GitHub::Ldap test
2014-11-14 13:56:37 -08:00
Jerry Cheung
ba0792cf1f
add test for validator detection
2014-10-28 10:07:25 -07:00
Matt Todd
102351c53d
Rewrite GitHub::Ldap tests
2014-10-06 16:44:49 -07:00
Matt Todd
172070d981
Use idiomatic event naming, test search instrumentation
2014-08-30 17:25:14 -07:00
Matt Todd
95b1701565
require -> require_relative for tests
...
Makes it easier to run tests individually.
2014-08-14 18:32:07 -07:00
David Calavera
a42b619063
Add default search_domains to the connection.
2014-03-17 09:36:12 -07:00
David Calavera
bdf7ba6c7a
Allow to override our default virtual attribute names.
2014-02-21 13:53:01 -08:00
David Calavera
41e525e1cb
Run the basic ldap tests authenticated and unauthenticated.
2013-08-19 16:23:08 -07:00
David Calavera
536dbbf912
Allow unauthenticated connections.
2013-08-19 14:47:15 -07:00
David Calavera
8e2daef128
Delegate search and results to the ldap module.
2013-07-15 09:58:33 -07:00
David Calavera
3ff4e5442a
Verify that the encryption type is properly normalized.
2013-07-09 12:19:42 -07:00
David Calavera
e91f5b8259
Extract root base domain to a different class.
2013-07-08 15:48:23 -07:00
David Calavera
6e22b851f3
Extract membership method to be able to retried groups that a user belong to.
2013-07-08 10:40:05 -07:00
David Calavera
255d7b697d
Decouple connection from groups queries.
...
This way we can perform search with groups easily.
2013-07-08 10:18:05 -07:00
David Calavera
f379074abf
Fix encryption initializer.
2013-07-07 16:51:49 -07:00
David Calavera
547a6f8dd7
Initial commit
2013-07-07 13:06:08 -07:00