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