From b9518e30e73fea2b740119f515c51a6d50193a2f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andrej=20Rama=C5=A1euski?= <andrej@x2.cz>
Date: Wed, 15 Apr 2020 15:51:33 +0200
Subject: [PATCH] Pokus o pridani custom schema

---
 bootstrap/schema/pirati.schema | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 bootstrap/schema/pirati.schema

diff --git a/bootstrap/schema/pirati.schema b/bootstrap/schema/pirati.schema
new file mode 100644
index 0000000..2cd2bf1
--- /dev/null
+++ b/bootstrap/schema/pirati.schema
@@ -0,0 +1,20 @@
+attributetype ( 1.3.6.1.4.1.55307.2.3.1 NAME 'superiorTeam'
+	DESC 'Nadřízený tým'
+	SUP distinguishedName
+	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'
+	SUP distinguishedName
+	SINGLE-VALUE
+	USAGE userApplications )
+attributetype ( 1.3.6.1.4.1.55307.2.3.3 NAME 'teamLeaderSubstitute'
+	DESC 'Zástupce vedoucího týmu'
+	USAGE userApplications )
+objectclass ( 1.3.6.1.4.1.55307.2.4.1 NAME ( 'teamOfPirates' 'groupOfPirates' )
+	DESC 'Piratský tým'
+	SUP top
+	STRUCTURAL
+	MUST cn
+	MAY ( member $ description $ gidNumber $ email $ superiorTeam $ teamLeader $ teamLeaderSubstitute ) )
-- 
GitLab