summaryrefslogtreecommitdiffstats
path: root/tests/data/otp/totp.ldif
blob: 1067dfd352c5eabbafee493b59ff5e6951b0da33 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
dn: dc=example, dc=com
changetype: modify
add: objectClass
objectClass: oathTOTPParams
-
add: oathOTPLength
oathOTPLength: 6
-
add: oathTOTPTimeStepPeriod
oathTOTPTimeStepPeriod: 30
-
add: oathTOTPTimeStepWindow
oathTOTPTimeStepWindow: 3
-
add: oathHMACAlgorithm
# SHA-1
oathHMACAlgorithm: 1.2.840.113549.2.7

dn: ou=Information Technology Division,ou=People,dc=example,dc=com
changetype: modify
add: objectClass
objectclass: oathTOTPToken
-
add: oathTOTPParams
oathTOTPParams: dc=example, dc=com
-
add: oathSecret
oathSecret:: PcbKpIJKbSiHZ7IzHiC0MWbLhdk=

dn: ou=Alumni Association,ou=People,dc=example,dc=com
changetype: modify
add: objectClass
objectClass: oathTOTPParams
-
add: oathOTPLength
oathOTPLength: 8
-
add: oathTOTPTimeStepPeriod
oathTOTPTimeStepPeriod: 30
-
add: oathTOTPTimeStepWindow
oathTOTPTimeStepWindow: 0
-
add: oathHMACAlgorithm
# SHA-512
oathHMACAlgorithm: 1.2.840.113549.2.11

dn: cn=Barbara Jensen,ou=Information Technology Division,ou=People,dc=example,
 dc=com
changetype: modify
add: objectClass
objectClass: oathTOTPUser
-
add: oathTOTPToken
oathTOTPToken: ou=Information Technology Division,ou=People,dc=example,dc=com

dn: cn=Bjorn Jensen,ou=Information Technology Division,ou=People,dc=example,
 dc=com
changetype: modify
add: objectClass
objectClass: oathTOTPUser
-
add: oathTOTPToken
oathTOTPToken: ou=Information Technology Division,ou=People,dc=example,dc=com