blob: 9441a41bb2e821fa545c361633c5126c0f9d14e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
###########################################################
# 1.3.6.1.4.1.2312 dot notation
# 1.3.6.1.4.1.2312.4.3.3 attributeTypes
# 1.3.6.1.4.1.2312.4.3.4 objectClasses
###########################################################
dn: cn=schema
# These example schema can be used to integrate sabayon with ldap
# However, the ldap support in sabayon is very flexible, so you can
# choose to do your own ldap integration using a different schema
# This attribute is used to point to a sabayon profile file
# that is accessible via a (typically http) url
attributeTypes: (
1.3.6.1.4.1.2312.4.3.3.1
NAME 'sabayonProfileURL'
DESC 'The URL of a sabayon profile'
SUP labeledURI
X-ORIGIN 'Sabayon'
)
# This attribute is used to store the name of a sabayon profile.
# It can refer to either a local zipfile (which will be looked up
# in /etc/desktop-profiles/$(name).zip), or it can be used to
# map to another ldap object that maps to the final profile URL
attributeTypes: (
1.3.6.1.4.1.2312.4.3.3.2
NAME 'sabayonProfileName'
DESC 'The Name of a sabayon profile'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE
X-ORIGIN 'Sabayon'
)
# Simple example object to store profile information
# If you use this or something similar instead of a direct URL
# in your user object you get more flexibility.
objectClasses: (
1.3.6.1.4.1.2312.4.3.4.1
NAME 'sabayonProfile'
DESC 'sabayon profile'
SUP top
STRUCTURAL
MUST cn
MAY ( sabayonProfileURL $ description )
X-ORIGIN 'Sabayon'
)
# Use these to put sabayonProfileName or sabayonProfileURL
# attributes in an objetc
objectClasses: (
1.3.6.1.4.1.2312.4.3.4.2
NAME 'sabayonProfileNameObject'
DESC 'contains sabayon profile name'
SUP top
AUXILIARY
MUST sabayonProfileName
X-ORIGIN 'Sabayon'
)
objectClasses: (
1.3.6.1.4.1.2312.4.3.4.3
NAME 'sabayonProfileURLObject'
DESC 'contains sabayon profile'
SUP top
AUXILIARY
MUST cn
MAY sabayonProfileURL
X-ORIGIN 'Sabayon'
)
|