| 1 |
lars |
1 |
; +---------------------------------------------------------------------------+
|
|
|
2 |
; | This is a configuration file for Net_LDAP2s tests. |
|
|
|
3 |
; | To activate the tests, you need to adjust the configuration to |
|
|
|
4 |
; | your needs and copy it over to "ldapconfig.conf". Place the |
|
|
|
5 |
; | file inside the directory holding all the test programs. |
|
|
|
6 |
; | |
|
|
|
7 |
; | Note, that this tests assume a working LDAP server. |
|
|
|
8 |
; | If you don't have such a server, you may use the |
|
|
|
9 |
; | LDIF based mock server. Head to 'ldapldifconfig.ini.dist'. |
|
|
|
10 |
; | |
|
|
|
11 |
; | The syntax of this file is really easy and similar to other .ini-files. |
|
|
|
12 |
; | Remember to quote strings containing non-alphanumeric characters. |
|
|
|
13 |
; +---------------------------------------------------------------------------+
|
|
|
14 |
|
|
|
15 |
|
|
|
16 |
; Global section
|
|
|
17 |
; server_cap_tls: is the server ssl capable?
|
|
|
18 |
; server_cap_anonymous: is the server allowing anonymous access?
|
|
|
19 |
; server_base_dn: BaseDN at which your DIT starts. Ensure that the
|
|
|
20 |
; binding user has all rights to add, delete and
|
|
|
21 |
; modifying entries as well as creating and deleting
|
|
|
22 |
; some subtree (ou=...) below the base.
|
|
|
23 |
; server_*: I think those following are self-explanatory
|
|
|
24 |
; server_binddn: Relative to base_dn below
|
|
|
25 |
[global]
|
|
|
26 |
server_cap_tls = false
|
|
|
27 |
server_cap_anonymous = true
|
|
|
28 |
server_base_dn = "ou=example,dc=cno"
|
|
|
29 |
server_address = localhost
|
|
|
30 |
server_port = 389
|
|
|
31 |
server_binddn = "cn=testuser"
|
|
|
32 |
server_bindpw = testpass
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
; Definitions for the tests. Adjust to suit the needs of your test server.
|
|
|
36 |
; existing_entry: RDN for an entry that must exist (relative to base).
|
|
|
37 |
; The following attribute tests are performed on this entry.
|
|
|
38 |
; existing_attrs: Name of an existing attribute (single valued)
|
|
|
39 |
; existing_attrsv: Value of this attribute
|
|
|
40 |
; existing_attrm: Name of an existing attribute (multi valued)
|
|
|
41 |
; existing_attrmv: Values of this attribute, "|" delimited
|
|
|
42 |
; utf8_attr: Name of attribute with UTF8 value
|
|
|
43 |
; noutf8_attr: Name of attribute without UTF8 value
|
|
|
44 |
[test]
|
|
|
45 |
existing_entry = "cn=existing"
|
|
|
46 |
existing_attrs = attr1
|
|
|
47 |
existing_attrsv = 12345
|
|
|
48 |
existing_attrm = attr2
|
|
|
49 |
existing_attrmv = "1234|baz"
|
|
|
50 |
utf8_attr = attr4
|
|
|
51 |
noutf8_attr = attr1
|