Test Data

Adauth requires a working windows domain for it to run its tests and make sure that return data is correct.

To set the details you use a file called test_data.yml in the spec directory.

The current test_data looks like this:


 1domain:
2 domain: example.com
3 server: 1.2.3.4
4 base: "dc=example, dc=com"
5 port: 389
6 pass_allowed_groups:
7 - Group1
8 fail_allowed_groups:
9 - Group2
10 pass_allowed_ous:
11 - OU1
12 fail_allowed_ous:
13 - OU1
14 admin_user: username
15 admin_password: password
16
17user:
18 login: username
19 password: password
20 group: Group1
21 ous:
22 - OU1
23 email: "test@example.com"




Although Adauth is capable of guessing most of the connection details test_data needs them all to make sure that the guessing works properly.
Html5-badge-h-css3-graphics-semantics
CSS Based on Twitters Bootstrap

88x31
All Content is written by Adam Laycock (Arcath) unless otherwise stated.

A little bit About Me

I am an IT Technician working in Primary Schools, I spend my time outside work writing programs, normally they end up bieng bots and other web based dodads