From 434c31f9338fb0aa9adef49307c7fe59716e0686 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andrej=20Rama=C5=A1euski?= <andrej@x2.cz>
Date: Sat, 18 Apr 2020 02:22:15 +0200
Subject: [PATCH] Aktualizovana schema

---
 bootstrap/schema/pirati.schema | 48 ++++++++++++++++++++++++++++++----
 1 file changed, 43 insertions(+), 5 deletions(-)

diff --git a/bootstrap/schema/pirati.schema b/bootstrap/schema/pirati.schema
index 72ed07e..23c8bf9 100644
--- a/bootstrap/schema/pirati.schema
+++ b/bootstrap/schema/pirati.schema
@@ -1,23 +1,61 @@
 attributetype ( 1.3.6.1.4.1.55307.2.3.1 NAME 'superiorTeam'
-	DESC 'Nadřízený tým'
+	DESC 'Nadrizeny tym'
 	SUP distinguishedName
+	EQUALITY distinguishedNameMatch
 	SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
-	SINGLE-VALUE
 	USAGE userApplications )
 attributetype ( 1.3.6.1.4.1.55307.2.3.2 NAME 'teamLeader'
-	DESC 'Vedoucí týmu'
+	DESC 'Vedouci tymu'
 	SUP distinguishedName
+	EQUALITY distinguishedNameMatch
 	SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
 	SINGLE-VALUE
 	USAGE userApplications )
 attributetype ( 1.3.6.1.4.1.55307.2.3.3 NAME 'teamLeaderSubstitute'
 	DESC 'Zástupce vedoucího týmu'
 	SUP distinguishedName
+	EQUALITY distinguishedNameMatch
 	SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
 	USAGE userApplications )
-objectclass ( 1.3.6.1.4.1.55307.2.4.1 NAME ( 'teamOfPirates' 'groupOfPirates' )
-	DESC 'Piratský tým'
+attributetype ( 1.3.6.1.4.1.55307.2.3.4 NAME 'forumId'
+	DESC 'Identifikator na piratskem foru'
+	EQUALITY integerMatch
+	ORDERING integerOrderingMatch
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
+	SINGLE-VALUE
+	USAGE userApplications )
+attributetype ( 1.3.6.1.4.1.55307.2.3.5 NAME 'isEnabled'
+	DESC 'Uzivatel je aktivni'
+	EQUALITY booleanMatch
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
+	SINGLE-VALUE
+	USAGE userApplications )
+attributetype ( 1.3.6.1.4.1.55307.2.3.6 NAME 'emailVerified'
+	DESC 'Registracni email je overen'
+	EQUALITY booleanMatch
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
+	SINGLE-VALUE
+	USAGE userApplications )
+attributetype ( 1.3.6.1.4.1.55307.2.3.7 NAME 'contactEmail'
+	DESC 'Kontaktni email'
+	EQUALITY caseIgnoreIA5Match
+	SUBSTR caseIgnoreIA5SubstringsMatch
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128}
+	USAGE userApplications )
+attributetype ( 1.3.6.1.4.1.55307.2.3.8 NAME 'isTeam'
+	DESC 'Skupina je tym'
+	EQUALITY booleanMatch
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
+	SINGLE-VALUE
+	USAGE userApplications )
+objectclass ( 1.3.6.1.4.1.55307.2.4.1 NAME 'groupOfPirates'
+	DESC 'Piratska skupina'
 	SUP top
 	STRUCTURAL
 	MUST cn
 	MAY ( member $ description $ gidNumber $ email $ superiorTeam $ teamLeader $ teamLeaderSubstitute ) )
+objectclass ( 1.3.6.1.4.1.55307.2.4.2 NAME 'pirate'
+	DESC 'Pirat'
+	SUP inetOrgPerson
+	AUXILIARY
+	MAY ( contactEmail $ emailVerified $ forumId $ userEnabled ) )
-- 
GitLab