#
#  LDAP schema for LAM TAK functionality
#
#  This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
#  Copyright (C) 2025  Roland Gruber
#
#
#  OID bases:
#   1.3.6.1.4.1.34955   Roland Gruber Softwareentwicklung
#   1.3.6.1.4.1.34955.1 attributes
#   1.3.6.1.4.1.34955.2 object classes
#
#  Please replace DOMAIN_TOP_DN with your LDAP suffix (e.g. dc=windows,dc=test).
#
#  Installation: ldifde -v -i -f tak-Windows.ldif
#
#
#  Version: 1
#   1: initial release (LAM 9.2)
#

dn: CN=takCallsign,CN=Schema,CN=Configuration,DOMAIN_TOP_DN
changetype: add
objectClass: top
objectClass: attributeSchema
attributeID: 1.3.6.1.4.1.34955.1.100
attributeSyntax: 2.5.5.12
oMSyntax: 64
isSingleValued: TRUE
rangeLower: 4
cn: takCallsign
name: takCallsign
lDAPDisplayName: takCallsign
description: TAK callsign

dn: CN=takRole,CN=Schema,CN=Configuration,DOMAIN_TOP_DN
changetype: add
objectClass: top
objectClass: attributeSchema
attributeID: 1.3.6.1.4.1.34955.1.101
attributeSyntax: 2.5.5.12
oMSyntax: 64
isSingleValued: TRUE
cn: takRole
name: takRole
lDAPDisplayName: takRole
description: TAK team role

dn: CN=takColor,CN=Schema,CN=Configuration,DOMAIN_TOP_DN
changetype: add
objectClass: top
objectClass: attributeSchema
attributeID: 1.3.6.1.4.1.34955.1.102
attributeSyntax: 2.5.5.12
oMSyntax: 64
isSingleValued: TRUE
cn: takColor
name: takColor
LDAPDisplayName: takColor
Description: TAK team color

dn:
changetype: modify
add: schemaUpdateNow
schemaUpdateNow: 1
-

dn: CN=takUser,CN=Schema,CN=Configuration,DOMAIN_TOP_DN
changetype: add
objectClass: top
objectClass: classSchema
governsID: 1.3.6.1.4.1.34955.2.10
cn: takUser
lDAPDisplayName: takUser
subClassOf: top
objectClassCategory: 3
mustContain: cn
mayContain: takCallsign
mayContain: takRole
mayContain: takColor
description: TAK user
possSuperiors: top

dn:
changetype: modify
add: schemaUpdateNow
schemaUpdateNow: 1
-

dn: CN=User,CN=Schema,CN=Configuration,DOMAIN_TOP_DN
changetype: modify
add: auxiliaryClass
auxiliaryClass: takUser
-

dn:
changetype: modify
add: schemaUpdateNow
schemaUpdateNow: 1
-
