summaryrefslogtreecommitdiffstats
path: root/contrib/slapd-modules/datamorph/tests/data/datamorph.conf
blob: 7cc4899689de2e3bf3c4c6938c3e311647f140da (plain)
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
overlay datamorph

# they depend on the syntaxes defined by the overlay
attributetype ( 1.3.6.1.4.1.4203.666.11.12.123.1 NAME 'enumerated'
    DESC 'Enumerated attribute'
    EQUALITY fixedSizeIntegerMatch
    ORDERING fixedSizeIntegerOrderingMatch
    SYNTAX 1.3.6.1.4.1.4203.666.11.12.1.2 )

attributetype ( 1.3.6.1.4.1.4203.666.11.12.123.2 NAME 'number'
    DESC 'Integer attribute'
    EQUALITY fixedSizeIntegerMatch
    ORDERING fixedSizeIntegerOrderingMatch
    SYNTAX 1.3.6.1.4.1.4203.666.11.12.1.3 )

attributetype ( 1.3.6.1.4.1.4203.666.11.12.123.3 NAME 'signed'
    DESC 'Signed integer attribute'
    EQUALITY fixedSizeSignedIntegerMatch
    ORDERING fixedSizeSignedIntegerOrderingMatch
    SYNTAX 1.3.6.1.4.1.4203.666.11.12.1.4 )

objectclass ( 1.3.6.1.4.1.4203.666.11.12.123.4 NAME 'transformedObject'
    DESC 'Testing objectclass'
    SUP top AUXILIARY
    MAY ( enumerated $ number $ signed ) )

datamorph eNuM enumerated
datamorph_value 1 bjensen
datamorph_value 11 bjorn
datamorph_value 12 dots
datamorph_value "13" jaj
datamorph_value 14 jjones
datamorph_value 10 jdoe
datamorph_value 101 jen
datamorph_value 20 johnd
datamorph_value 51 "melliot"
datamorph_value 31 uham
datamorph_value 200 "\\no \"name\""

datamorph int signed
datamorph_size 2
datamorph_signed TRUE
datamorph_lower_bound -20000
datamorph_upper_bound 30000

datamorph iNT number
datamorph_size 1
datamorph_signed no
datamorph_upper_bound 1