aboutsummaryrefslogblamecommitdiff
path: root/modules/private/databases/openldap/immae.schema
blob: f5ee5d5440653fd56a5f299f06db697fd773d2f3 (plain) (tree)






















































































































































                                                                             











                                                                
       

                                                         
 
# vim: set filetype=slapd:
objectIdentifier Immaeroot 1.3.6.1.4.1.50071

objectIdentifier Immae Immaeroot:2
objectIdentifier ImmaeattributeType Immae:3
objectIdentifier ImmaeobjectClass Immae:4

# TT-RSS
attributetype ( ImmaeattributeType:1 NAME 'immaeTtrssLogin'
	DESC 'login for TTRSS'
	EQUALITY caseIgnoreMatch
	SUBSTR caseIgnoreSubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )

objectclass ( ImmaeobjectClass:1 NAME 'immaeTtrssClass'
	DESC 'Expansion of the existing object classes for ttrss'
	SUP top AUXILIARY
	MUST ( immaeTtrssLogin ) )

# FTP
attributetype ( ImmaeattributeType:2 NAME 'immaeFtpDirectory'
	DESC 'home directory for ftp'
	EQUALITY caseExactIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( ImmaeattributeType:3 NAME 'immaeFtpUid'
	DESC 'user id for ftp'
	EQUALITY integerMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )

attributetype ( ImmaeattributeType:4 NAME 'immaeFtpGid'
	DESC 'group id for ftp'
	EQUALITY integerMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )

objectclass ( ImmaeobjectClass:2 NAME 'immaeFtpClass'
	DESC 'Expansion of the existing object classes for ftp'
	SUP top AUXILIARY
	MUST ( immaeFtpDirectory $ immaeFtpGid $ immaeFtpUid ) )


# SSH keys
attributetype ( ImmaeattributeType:5 NAME 'immaeSshKey'
	DESC 'OpenSSH Public key'
	EQUALITY octetStringMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 )

objectClass ( ImmaeobjectClass:3 NAME 'immaeSshClass'
	DESC 'OpenSSH class'
	SUP top AUXILIARY
	MAy ( immaeSSHKey ) )

# Specific access
attributetype (ImmaeattributeType:6 NAME 'immaeAccessDn'
	EQUALITY distinguishedNameMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )

attributetype (ImmaeattributeType:17 NAME 'immaeAccessWriteDn'
	EQUALITY distinguishedNameMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )

attributetype (ImmaeattributeType:18 NAME 'immaeAccessReadSubtree'
	EQUALITY distinguishedNameMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )

objectClass ( ImmaeobjectClass:4 NAME 'immaeAccessClass'
	DESC 'Access class'
	SUP top AUXILIARY
	MAY ( immaeAccessDn $ immaeAccessWriteDn $ immaeAccessReadSubtree ) )

# Xmpp uid
attributetype ( ImmaeattributeType:7 NAME 'immaeXmppUid'
	DESC 'user part for Xmpp'
	EQUALITY caseIgnoreMatch
	SUBSTR caseIgnoreSubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )

objectclass ( ImmaeobjectClass:5 NAME 'immaeXmppClass'
	DESC 'Expansion of the existing object classes for XMPP'
	SUP top AUXILIARY
	MUST ( immaeXmppUid ) )

# Postfix accounts
attributetype ( ImmaeattributeType:8 NAME 'immaePostfixAddress'
	DESC 'the dovecot address to match as username'
        EQUALITY caseIgnoreIA5Match
        SUBSTR caseIgnoreIA5SubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )

attributetype ( ImmaeattributeType:9 NAME 'immaePostfixHome'
	DESC 'the postfix home directory'
	EQUALITY caseExactIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( ImmaeattributeType:10 NAME 'immaePostfixMail'
	DESC 'the dovecot mail location'
	EQUALITY caseExactIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( ImmaeattributeType:11 NAME 'immaePostfixUid'
	DESC 'the dovecot uid'
	EQUALITY caseExactIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( ImmaeattributeType:12 NAME 'immaePostfixGid'
	DESC 'the dovecot gid'
	EQUALITY caseExactIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

objectclass ( ImmaeobjectClass:6 NAME 'immaePostfixClass'
	DESC 'Expansion of the existing object classes for Postfix'
	SUP top AUXILIARY
	MUST ( immaePostfixAddress $ immaePostfixHome $
          immaePostfixMail $ immaePostfixUid $ immaePostfixGid )
        )

# Tinc informations
# Domaine = une classe a part ou une partie du dn ?
# attributetype ( ImmaeattributeType:13 NAME 'immaeTincIpSegment'
#         DESC 'the internal ip segment in tinc'
#         EQUALITY caseIgnoreIA5Match
#         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
# 
# attributetype ( ImmaeattributeType:14 NAME 'immaeTincSubdomain'
#         DESC 'the host subdomain'
#         EQUALITY caseIgnoreIA5Match
#         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
# 
# attributetype ( ImmaeattributeType:15 NAME 'immaeTincHostname'
#         DESC 'the host name'
#         EQUALITY caseIgnoreIA5Match
#         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
# 
# objectclass ( ImmaeobjectClass:7 NAME 'immaeTincHostClass'
# 	DESC 'Expansion of the existing object classes for Tinc'
# 	SUP top AUXILIARY
# 	MUST ( immaeTincInternalIp $ immaeTincSubdomain $
#         immaeTincHostname )
#         )

attributetype (ImmaeattributeType:16 NAME 'immaePuppetJson'
	DESC 'Puppet hiera json'
	EQUALITY octetStringMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 )

objectclass ( ImmaeobjectClass:8 NAME 'immaePuppetClass'
	DESC 'Expansion of the existing object classes for Puppet'
	SUP top AUXILIARY
	MUST ( immaePuppetJson )
        )

attributetype (ImmaeattributeType:19 NAME 'immaeTaskId'
	DESC 'Taskwarrior server Org:Name:Key'
	EQUALITY caseIgnoreMatch
	SUBSTR caseIgnoreSubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )

objectclass ( ImmaeobjectClass:9 NAME 'immaeTaskClass'
	DESC 'Expansion of the existing object classes for Task'
	SUP top AUXILIARY
	MUST ( immaeTaskId )
        )

# Last:
# attributetype (ImmaeattributeType:19 NAME 'immaeTaskId'
# objectclass ( ImmaeobjectClass:9 NAME 'immaeTaskClass'