ldap-server: Add yubikey schema

This commit is contained in:
Timo Makinen 2021-09-15 14:50:15 +00:00
parent 69b80d133d
commit 270161dc4b
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,30 @@
#
# YubiKey LDAP schema
#
# Author: Michal Ludvig <michal@logix.cz>
# Consider a small PayPal donation:
# http://logix.cz/michal/devel/yubikey-ldap/
#
# Common Logix OID structure
# 1.3.6.1.4.1.40789.<Project>.<1=SNMP/2=LDAP>.<...>
objectIdentifier lxYubiKeyPrj 1.3.6.1.4.1.40789.2012.11.1
objectIdentifier lxYkSNMP lxYubiKeyPrj:1
objectIdentifier lxYkLDAP lxYubiKeyPrj:2
# YubiKey schema sub-tree
objectIdentifier lxYkAttribute lxYkLDAP:1
objectIdentifier lxYkObjectClass lxYkLDAP:2
attributetype ( lxYkAttribute:1
NAME 'yubiKeyId'
DESC 'Yubico YubiKey ID'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} )
objectclass ( lxYkObjectClass:1
NAME 'yubiKeyUser'
DESC 'Yubico YubiKey User'
SUP top
AUXILIARY
MAY ( yubiKeyId ) )

View file

@ -159,6 +159,7 @@
- kerberos.schema # centos krb5-server-ldap 1.15.1
- openssh-lpk.schema # via google, no original source found
- rfc2307bis.schema # rfc2307bis version 2
- yubikey.schema # http://logix.cz/michal/devel/yubikey-ldap/
- samba.schema # centos samba 4.8.3
notify: restart slapd