xref: /netbsd-src/external/bsd/openldap/dist/tests/data/otp/totp.ldif (revision e670fd5c413e99c2f6a37901bb21c537fcd322d2)
1dn: dc=example, dc=com
2changetype: modify
3add: objectClass
4objectClass: oathTOTPParams
5-
6add: oathOTPLength
7oathOTPLength: 6
8-
9add: oathTOTPTimeStepPeriod
10oathTOTPTimeStepPeriod: 30
11-
12add: oathTOTPTimeStepWindow
13oathTOTPTimeStepWindow: 3
14-
15add: oathHMACAlgorithm
16# SHA-1
17oathHMACAlgorithm: 1.2.840.113549.2.7
18
19dn: ou=Information Technology Division,ou=People,dc=example,dc=com
20changetype: modify
21add: objectClass
22objectclass: oathTOTPToken
23-
24add: oathTOTPParams
25oathTOTPParams: dc=example, dc=com
26-
27add: oathSecret
28oathSecret:: PcbKpIJKbSiHZ7IzHiC0MWbLhdk=
29
30dn: ou=Alumni Association,ou=People,dc=example,dc=com
31changetype: modify
32add: objectClass
33objectClass: oathTOTPParams
34-
35add: oathOTPLength
36oathOTPLength: 8
37-
38add: oathTOTPTimeStepPeriod
39oathTOTPTimeStepPeriod: 30
40-
41add: oathTOTPTimeStepWindow
42oathTOTPTimeStepWindow: 0
43-
44add: oathHMACAlgorithm
45# SHA-512
46oathHMACAlgorithm: 1.2.840.113549.2.11
47
48dn: cn=Barbara Jensen,ou=Information Technology Division,ou=People,dc=example,
49 dc=com
50changetype: modify
51add: objectClass
52objectClass: oathTOTPUser
53-
54add: oathTOTPToken
55oathTOTPToken: ou=Information Technology Division,ou=People,dc=example,dc=com
56
57dn: cn=Bjorn Jensen,ou=Information Technology Division,ou=People,dc=example,
58 dc=com
59changetype: modify
60add: objectClass
61objectClass: oathTOTPUser
62-
63add: oathTOTPToken
64oathTOTPToken: ou=Information Technology Division,ou=People,dc=example,dc=com
65