I have a question. This is my case : i want to store in my ldap server users who were able to authenticate with their username / password or using a token.

This is an example i'd like to implement.

dn: uid=automate,ou=people,dc=mydomain,dc=com
objectClass: top
objectClass: account
objectClass: posixAccount
objectClass: shadowAccount
cn: automate
uid: automate
userPassword: test
userTokens: myfirsttoken
userTokens: mysecondtoken

How can i do ?

Thanks in advance