xref: /netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/datamorph/tests/data/datamorph.conf (revision e670fd5c413e99c2f6a37901bb21c537fcd322d2)
1overlay datamorph
2
3# they depend on the syntaxes defined by the overlay
4attributetype ( 1.3.6.1.4.1.4203.666.11.12.123.1 NAME 'enumerated'
5    DESC 'Enumerated attribute'
6    EQUALITY fixedSizeIntegerMatch
7    ORDERING fixedSizeIntegerOrderingMatch
8    SYNTAX 1.3.6.1.4.1.4203.666.11.12.1.2 )
9
10attributetype ( 1.3.6.1.4.1.4203.666.11.12.123.2 NAME 'number'
11    DESC 'Integer attribute'
12    EQUALITY fixedSizeIntegerMatch
13    ORDERING fixedSizeIntegerOrderingMatch
14    SYNTAX 1.3.6.1.4.1.4203.666.11.12.1.3 )
15
16attributetype ( 1.3.6.1.4.1.4203.666.11.12.123.3 NAME 'signed'
17    DESC 'Signed integer attribute'
18    EQUALITY fixedSizeSignedIntegerMatch
19    ORDERING fixedSizeSignedIntegerOrderingMatch
20    SYNTAX 1.3.6.1.4.1.4203.666.11.12.1.4 )
21
22objectclass ( 1.3.6.1.4.1.4203.666.11.12.123.4 NAME 'transformedObject'
23    DESC 'Testing objectclass'
24    SUP top AUXILIARY
25    MAY ( enumerated $ number $ signed ) )
26
27datamorph eNuM enumerated
28datamorph_value 1 bjensen
29datamorph_value 11 bjorn
30datamorph_value 12 dots
31datamorph_value "13" jaj
32datamorph_value 14 jjones
33datamorph_value 10 jdoe
34datamorph_value 101 jen
35datamorph_value 20 johnd
36datamorph_value 51 "melliot"
37datamorph_value 31 uham
38datamorph_value 200 "\\no \"name\""
39
40datamorph int signed
41datamorph_size 2
42datamorph_signed TRUE
43datamorph_lower_bound -20000
44datamorph_upper_bound 30000
45
46datamorph iNT number
47datamorph_size 1
48datamorph_signed no
49datamorph_upper_bound 1
50