# Copyright 2005-2017 Univention GmbH
#
# http://www.univention.de/
#
# All rights reserved.
#
# The source code of this program is made available
# under the terms of the GNU Affero General Public License version 3
# (GNU AGPL V3) as published by the Free Software Foundation.
#
# Binary versions of this program provided by Univention to you as
# well as other copyrighted, protected or trademarked materials like
# Logos, graphics, fonts, specific documentations and configurations,
# cryptographic keys etc. are subject to a license agreement between
# you and Univention and not subject to the GNU AGPL V3.
#
# In the case you use this program under the terms of the GNU AGPL V3,
# the program is provided in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public
# License with the Debian GNU/Linux or Univention distribution in file
# /usr/share/common-licenses/AGPL-3; if not, see
# <http://www.gnu.org/licenses/>.

attributetype ( 1.3.6.1.4.1.10176.4 NAME 'quotablockhard'
	DESC 'Softlimit for Block usage quota'
	EQUALITY integerMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.10176.5 NAME 'quotablocksoft'
	DESC 'Hard limit for Block usage quota'
	EQUALITY integerMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.10176.6 NAME 'quotafilehard'
	DESC 'Soft limit for Inode usage quota'
	EQUALITY integerMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.10176.7 NAME 'quotafilesoft'
	DESC 'Hard limit for Inode usage quota'
	EQUALITY integerMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.10176.10 NAME 'groupDirectory'
	DESC 'The absolute path to the group directory'
	EQUALITY caseExactIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.10176.11 NAME 'virtual'
	DESC 'Is this account a vitual one'
	EQUALITY booleanMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.10176.12 NAME 'temporary'
	DESC 'This account has a temporary home dir'
	EQUALITY booleanMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.10176.15 NAME 'univentionAssignedPrinter'
	DESC 'assigned printer'
	EQUALITY caseIgnoreMatch
	SUBSTR caseIgnoreSubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.10176.99 NAME 'univentionBirthday'
	DESC 'Birthday'
	EQUALITY caseIgnoreMatch
	SUBSTR caseIgnoreSubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 1.3.6.1.4.1.10176.100 NAME 'univentionUMCProperty'
	DESC 'UMC property stored as key=value pair'
	EQUALITY caseExactMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )


objectclass ( 1.3.6.1.4.1.10176.8 NAME 'univentionPerson'
	DESC 'Additional univention-vars for Person/Account'
	SUP top AUXILIARY
	MAY ( quotablocksoft $ quotablockhard $ quotafilesoft $ quotafilehard $
	      temporary $ virtual $ univentionBirthday $ univentionUMCProperty )
	)

attributetype ( 1.3.6.1.4.1.10176.9.1.1 NAME 'univentionGroupType'
	DESC 'Contains a set of flags that define the type and scope of a group object'
	EQUALITY integerMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE)

objectclass ( 1.3.6.1.4.1.10176.9 NAME 'univentionGroup'
	DESC 'Additional univention-vars for Groups'
	SUP top AUXILIARY
	MAY ( quotablocksoft $ quotablockhard $ quotafilesoft $ quotafilehard $ groupDirectory $ uniqueMember $ mailPrimaryAddress $ univentionAssignedPrinter $ univentionAllowedEmailUsers $ univentionAllowedEmailGroups $ mailAlternativeAddress $ univentionGrouptype)
	)

attributetype ( 1.3.6.1.4.1.10176.13 NAME 'pwhistory'
	DESC 'most recent used passwords'
        EQUALITY caseIgnoreIA5Match
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

objectclass ( 1.3.6.1.4.1.10176.14 NAME 'univentionPWHistory'
	DESC 'PW History for an account'
	SUP top AUXILIARY
	MAY ( pwhistory )
	)