Skip to content

Instantly share code, notes, and snippets.

@tskrynnyk
Created January 19, 2011 22:33
Show Gist options
  • Save tskrynnyk/787029 to your computer and use it in GitHub Desktop.
Save tskrynnyk/787029 to your computer and use it in GitHub Desktop.
ferm LDAP Schema
# ferm.schema: LDAP schema for ferm
# Written 2008-12-02 by tomasz at skrynnyk.pl
# http://www.openldap.org/
# http://ferm.foo-projects.org/
#
attributetype ( 1.3.6.1.4.1.6987.1.2.3.1 NAME 'fermStatus'
DESC 'ferm status: enabled or disabled.'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
attributetype ( 1.3.6.1.4.1.6987.1.2.3.2 NAME 'fermInputTCPPortAccept'
DESC 'TCP port allowed'
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )
attributetype ( 1.3.6.1.4.1.6987.1.2.3.3 NAME 'fermInputTCPPortDrop'
DESC 'TCP port disallowed'
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )
attributetype ( 1.3.6.1.4.1.6987.1.2.3.4 NAME 'fermInputUDPPortAccept'
DESC 'UDP port allowed'
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )
attributetype ( 1.3.6.1.4.1.6987.1.2.3.5 NAME 'fermInputUDPPortDrop'
DESC 'UDP port disallowed'
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )
attributetype ( 1.3.6.1.4.1.6987.1.2.3.6 NAME 'fermForwardTCPPortAccept'
DESC 'TCP port allowed'
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )
attributetype ( 1.3.6.1.4.1.6987.1.2.3.7 NAME 'fermForwardTCPPortDrop'
DESC 'TCP port disallowed'
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )
attributetype ( 1.3.6.1.4.1.6987.1.2.3.8 NAME 'fermForwardUDPPortAccept'
DESC 'UDP port allowed'
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )
attributetype ( 1.3.6.1.4.1.6987.1.2.3.9 NAME 'fermForwardUDPPortDrop'
DESC 'UDP port disallowed'
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )
attributetype ( 1.3.6.1.4.1.6987.1.2.3.10 NAME 'fermForwardTCPHostAccept'
DESC 'Host forward'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
attributetype ( 1.3.6.1.4.1.6987.1.2.3.11 NAME 'fermForwardTCPHostDrop'
DESC 'Host forward'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
attributetype ( 1.3.6.1.4.1.6987.1.2.3.12 NAME 'fermForwardUDPHostAccept'
DESC 'Host forward'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
attributetype ( 1.3.6.1.4.1.6987.1.2.3.13 NAME 'fermForwardUDPHostDrop'
DESC 'Host forward'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
#attributetype ( 1.3.6.1.4.1.6981.1.2.3.3
# NAME 'fermActive'
# DESC 'ferm status: true or false.'
# EQUALITY booleanMatch
# SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
# )
objectclass ( 1.3.6.1.4.1.6987.1.3.1.1 NAME 'fermHost'
DESC 'ferm entry'
SUP top AUXILIARY
MUST ( fermStatus )
MAY ( fermInputTCPPortAccept $
fermInputTCPPortDrop $
fermInputUDPPortAccept $
fermInputUDPPortDrop $
fermForwardTCPPortAccept $
fermForwardTCPPortDrop $
fermForwardUDPPortAccept $
fermForwardUDPPortDrop $
fermForwardTCPHostAccept $
fermForwardTCPHostDrop $
fermForwardUDPHostAccept $
fermForwardUDPHostDrop ) )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment