mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-12 10:54:48 +08:00
65 lines
1.4 KiB
Plaintext
65 lines
1.4 KiB
Plaintext
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
|