File: ldapconfig.ini.dist

package info (click to toggle)
php-net-ldap 1%3A1.1.1-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 484 kB
  • ctags: 1,095
  • sloc: php: 2,669; xml: 431; makefile: 3
file content (52 lines) | stat: -rw-r--r-- 2,637 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
; +---------------------------------------------------------------------------+
; | This is a configuration file for Net_LDAPs tests.                         |
; | To activate the tests, you need to adjust the configuration to            |
; | your needs and copy it over to "ldapconfig.conf". Place the               |
; | file inside the directory holding all the test programs.                  |
; |                                                                           |
; | Note, that this tests assume a working LDAP server.                       |
; | If you don't heave such a server, you may use the                         |
; | LDIF based mock server. Head to 'ldapldifconfig.ini.dist'.                |
; |                                                                           |
; | The syntax of this file is really easy and similar to other .ini-files.   |
; | Remember to quote strings containing non-alphanumeric characters.         |
; +---------------------------------------------------------------------------+


; Global section
;   server_cap_tls:       is the server ssl capable?
;   server_cap_anonymous: is the server allowing anonymous access?
;   server_base_dn:       BaseDN at which your DIT starts. Ensure that the
;                         binding user has all rights to add, delete and
;                         modifying entries as well as creating and deleting
;                         some subtree (ou=...) below the base.
;   server_*:             I think those following are self-explanatory
;   server_binddn:        Relative to base_dn below
[global]
server_cap_tls       = false
server_cap_anonymous = true
server_base_dn       = "ou=example,dc=cno"
server_address       = localhost
server_port          = 389
server_binddn        = "cn=testuser"
server_bindpw        = testpass


; Definitions for the tests. Adjust to suit the needs of your test server.
;   base_dn:         Base of your DIT
;   existing_entry:  RDN for an entry that must exist (relative to base).
;                    The following attribute tests are performed on this entry.
;   existing_attrs:  Name of an existing attribute (single valued)
;   existing_attrsv: Value of this attribute
;   existing_attrm:  Name of an existing attribute (multi valued)
;   existing_attrmv: Values of this attribute, "|" delimited
;   utf8_attr:       Name of attribute with UTF8 value
;   noutf8_attr:     Name of attribute without UTF8 value
[test]
existing_entry  = "cn=existing"
existing_attrs  = attr1
existing_attrsv = 12345
existing_attrm  = attr2
existing_attrmv = "1234|baz"
utf8_attr       = attr4
noutf8_attr     = attr1