source: Daodan/MSYS2/usr/share/cygwin/cygwin.ldif@ 1194

Last change on this file since 1194 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 6.0 KB
Line 
1# =========================================================================
2#
3# Schema Extension for Cygwin User and Group auxiliary classes
4#
5# Extend your Active Directory using
6#
7# ldifde -i -f <path>\<this>.ldif -b <username> <domain> <password> \
8# -k -c "CN=schema,CN=Configuration,DC=X" #schemaNamingContext
9#
10# Remember:
11# - you have to be schema admin for your active directory
12# - you have to run the above command directly from your schema master
13#
14# For further information read
15# http://technet.microsoft.com/en-us/magazine/2008.05.schema.aspx
16#
17# ----------------------------------------------------------------------
18#
19# Explanation for the OIDs:
20#
21# Value Meaning Description
22# 1 ISO Identifies the root authority.
23# 3 IANA Group designation assigned by ISO.
24# 6.1.4.1.2312 Red Hat Organization assigned by IANA.
25# 15 Cygwin Assigned by Organization.
26# Y Object Type Number defining the different object type
27# (category) such as classSchema or
28# attributeSchema. For example, 5 defines
29# object class.
30# Z Object Number identifying a particular object
31# within the category. For example, the user
32# class has the number 9 assigned to it.
33#
34# ----------------------------------------------------------------------
35
36# Attribute definition for cygwinHome
37
38dn: CN=cygwin-Home,CN=Schema,CN=Configuration,DC=X
39changetype: ntdsschemaadd
40objectClass: top
41objectClass: attributeSchema
42cn: cygwin-Home
43attributeID: 1.3.6.1.4.1.2312.15.2.1
44# attributeSyntax 2.5.5.12 is String(Unicode) with oMSyntax == 64
45# see http://technet.microsoft.com/en-us/library/cc961740.aspx
46attributeSyntax: 2.5.5.12
47isSingleValued: TRUE
48adminDisplayName: cygwin-Home
49adminDescription: cygwin-Home
50oMSyntax: 64
51searchFlags: 1
52lDAPDisplayName: cygwinHome
53systemOnly: FALSE
54
55dn:
56changetype: modify
57add: schemaUpdateNow
58schemaUpdateNow: 1
59-
60
61# Attribute definition for cygwinShell
62
63dn: CN=cygwin-Shell,CN=Schema,CN=Configuration,DC=X
64changetype: ntdsschemaadd
65objectClass: top
66objectClass: attributeSchema
67cn: cygwin-Shell
68attributeID: 1.3.6.1.4.1.2312.15.2.2
69attributeSyntax: 2.5.5.12
70isSingleValued: TRUE
71adminDisplayName: cygwin-Shell
72adminDescription: cygwin-Shell
73oMSyntax: 64
74searchFlags: 1
75lDAPDisplayName: cygwinShell
76systemOnly: FALSE
77
78dn:
79changetype: modify
80add: schemaUpdateNow
81schemaUpdateNow: 1
82-
83
84# Attribute definition for cygwinGecos
85
86dn: CN=cygwin-Gecos,CN=Schema,CN=Configuration,DC=X
87changetype: ntdsschemaadd
88objectClass: top
89objectClass: attributeSchema
90cn: cygwin-Gecos
91attributeID: 1.3.6.1.4.1.2312.15.2.3
92attributeSyntax: 2.5.5.12
93isSingleValued: TRUE
94adminDisplayName: cygwin-Gecos
95adminDescription: cygwin-Gecos
96oMSyntax: 64
97searchFlags: 1
98lDAPDisplayName: cygwinGecos
99systemOnly: FALSE
100
101dn:
102changetype: modify
103add: schemaUpdateNow
104schemaUpdateNow: 1
105-
106
107# Attribute definition for cygwinFstab
108
109dn: CN=cygwin-Fstab,CN=Schema,CN=Configuration,DC=X
110changetype: ntdsschemaadd
111objectClass: top
112objectClass: attributeSchema
113cn: cygwin-Fstab
114attributeID: 1.3.6.1.4.1.2312.15.2.4
115attributeSyntax: 2.5.5.12
116isSingleValued: FALSE
117adminDisplayName: cygwin-Fstab
118adminDescription: cygwin-Fstab
119oMSyntax: 64
120searchFlags: 1
121lDAPDisplayName: cygwinFstab
122systemOnly: FALSE
123
124dn:
125changetype: modify
126add: schemaUpdateNow
127schemaUpdateNow: 1
128-
129
130# Attribute definition for cygwinUnixUid
131
132dn: CN=cygwin-UnixUid,CN=Schema,CN=Configuration,DC=X
133changetype: ntdsschemaadd
134objectClass: top
135objectClass: attributeSchema
136cn: cygwin-UnixUid
137attributeID: 1.3.6.1.4.1.2312.15.2.5
138# attributeSyntax 2.5.5.9 is Integer with oMSyntax == 2
139attributeSyntax: 2.5.5.9
140isSingleValued: TRUE
141adminDisplayName: cygwin-UnixUid
142adminDescription: cygwin-UnixUid
143oMSyntax: 2
144searchFlags: 1
145lDAPDisplayName: cygwinUnixUid
146systemOnly: FALSE
147
148dn:
149changetype: modify
150add: schemaUpdateNow
151schemaUpdateNow: 1
152-
153
154# Attribute definition for cygwinUnixGid
155
156dn: CN=cygwin-UnixGid,CN=Schema,CN=Configuration,DC=X
157changetype: ntdsschemaadd
158objectClass: top
159objectClass: attributeSchema
160cn: cygwin-UnixGid
161attributeID: 1.3.6.1.4.1.2312.15.2.6
162attributeSyntax: 2.5.5.9
163isSingleValued: TRUE
164adminDisplayName: cygwin-UnixGid
165adminDescription: cygwin-UnixGid
166oMSyntax: 2
167searchFlags: 1
168lDAPDisplayName: cygwinUnixGid
169systemOnly: FALSE
170
171dn:
172changetype: modify
173add: schemaUpdateNow
174schemaUpdateNow: 1
175-
176
177# cygwin-User auxiliary class
178
179dn: CN=cygwin-User,CN=Schema,CN=Configuration,DC=X
180changetype: ntdsschemaadd
181objectClass: top
182objectClass: classSchema
183cn: cygwin-User
184governsID: 1.3.6.1.4.1.2312.15.1.1
185mayContain: cygwinHome
186mayContain: cygwinShell
187mayContain: cygwinGecos
188mayContain: cygwinFstab
189mayContain: cygwinUnixUid
190rDNAttID: cn
191adminDisplayName: cygwin-User
192adminDescription: cygwin-User
193objectClassCategory: 3
194lDAPDisplayName: cygwinUser
195name: cygwin-User
196systemOnly: FALSE
197
198dn:
199changetype: modify
200add: schemaUpdateNow
201schemaUpdateNow: 1
202-
203
204# cygwin-Group auxiliary class
205
206dn: CN=cygwin-Group,CN=Schema,CN=Configuration,DC=X
207changetype: ntdsschemaadd
208objectClass: top
209objectClass: classSchema
210cn: cygwin-Group
211governsID: 1.3.6.1.4.1.2312.15.1.2
212mayContain: cygwinUnixGid
213rDNAttID: cn
214adminDisplayName: cygwin-Group
215adminDescription: cygwin-Group
216objectClassCategory: 3
217lDAPDisplayName: cygwinGroup
218name: cygwin-Group
219systemOnly: FALSE
220
221dn:
222changetype: modify
223add: schemaUpdateNow
224schemaUpdateNow: 1
225-
226
227# Attach cygwin-User to User
228
229dn: CN=User,CN=Schema,CN=Configuration,DC=X
230changetype: ntdsschemamodify
231add: auxiliaryClass
232auxiliaryClass: cygwinUser
233-
234
235dn:
236changetype: modify
237add: schemaUpdateNow
238schemaUpdateNow: 1
239-
240
241# Attach cygwin-Group to Group
242
243dn: CN=Group,CN=Schema,CN=Configuration,DC=X
244changetype: ntdsschemamodify
245add: auxiliaryClass
246auxiliaryClass: cygwinGroup
247-
248
249dn:
250changetype: modify
251add: schemaUpdateNow
252schemaUpdateNow: 1
253-
Note: See TracBrowser for help on using the repository browser.