[763] | 1 | # $Id egroupware : phpgwcontact.schema,v 1.0 2000/07/29 01:53:16 milosch Exp $ |
---|
| 2 | |
---|
| 3 | # (C) 2001-2004 Miles Lott <milos@groupwhere.org> |
---|
| 4 | # Redistribution and use in original text and binary forms, with or |
---|
| 5 | # without modification, are permitted provided that the following |
---|
| 6 | # conditions are met: |
---|
| 7 | # |
---|
| 8 | # 1. Redistributions of this schema and/or documentation must retain |
---|
| 9 | # the above copyright notice, this list of conditions and the |
---|
| 10 | # following disclaimer. |
---|
| 11 | # 2. Redistributions in binary form must reproduce the above copyright notice, |
---|
| 12 | # this list of conditions and the following disclaimer in the documentation |
---|
| 13 | # and/or other materials provided with the distribution. |
---|
| 14 | # 3. The name of the author may not be used to endorse or promote products |
---|
| 15 | # derived from this software without specific prior written permission. |
---|
| 16 | # |
---|
| 17 | # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
---|
| 18 | # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
---|
| 19 | # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
---|
| 20 | # DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, |
---|
| 21 | # INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
---|
| 22 | # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
---|
| 23 | # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
---|
| 24 | # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, |
---|
| 25 | # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING |
---|
| 26 | # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
---|
| 27 | # POSSIBILITY OF SUCH DAMAGE. |
---|
| 28 | |
---|
| 29 | # REQUIRED |
---|
| 30 | dn: cn=schema |
---|
| 31 | changetype: modify |
---|
| 32 | add: attributetypes |
---|
| 33 | attributeTypes: ( 1.3.6.1.4.1.9554.100 |
---|
| 34 | NAME 'phpgwContactTypeId' |
---|
| 35 | EQUALITY caseIgnoreMatch |
---|
| 36 | SUBSTR caseIgnoreSubstringsMatch |
---|
| 37 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{16} |
---|
| 38 | SINGLE-VALUE ) |
---|
| 39 | |
---|
| 40 | # REQUIRED |
---|
| 41 | dn: cn=schema |
---|
| 42 | changetype: modify |
---|
| 43 | add: attributetypes |
---|
| 44 | attributeTypes: ( 1.3.6.1.4.1.9554.101 |
---|
| 45 | NAME 'phpgwContactCatId' |
---|
| 46 | EQUALITY caseIgnoreMatch |
---|
| 47 | SUBSTR caseIgnoreSubstringsMatch |
---|
| 48 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{16}) |
---|
| 49 | |
---|
| 50 | # REQUIRED |
---|
| 51 | dn: cn=schema |
---|
| 52 | changetype: modify |
---|
| 53 | add: attributetypes |
---|
| 54 | attributeTypes: ( 1.3.6.1.4.1.9554.102 |
---|
| 55 | NAME 'phpgwContactAccess' |
---|
| 56 | EQUALITY caseIgnoreMatch |
---|
| 57 | SUBSTR caseIgnoreSubstringsMatch |
---|
| 58 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} |
---|
| 59 | SINGLE-VALUE ) |
---|
| 60 | |
---|
| 61 | # REQUIRED |
---|
| 62 | dn: cn=schema |
---|
| 63 | changetype: modify |
---|
| 64 | add: attributetypes |
---|
| 65 | attributeTypes: ( 1.3.6.1.4.1.9554.103 |
---|
| 66 | NAME 'phpgwContactOwner' |
---|
| 67 | EQUALITY numericStringMatch |
---|
| 68 | SUBSTR numericStringSubstringsMatch |
---|
| 69 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.36{16} |
---|
| 70 | SINGLE-VALUE ) |
---|
| 71 | |
---|
| 72 | # BELOW ARE OPTIONAL |
---|
| 73 | dn: cn=schema |
---|
| 74 | changetype: modify |
---|
| 75 | add: attributetypes |
---|
| 76 | attributeTypes: ( 1.3.6.1.4.1.9554.105 |
---|
| 77 | NAME 'phpgwMiddlename' |
---|
| 78 | SUP name ) |
---|
| 79 | |
---|
| 80 | dn: cn=schema |
---|
| 81 | changetype: modify |
---|
| 82 | add: attributetypes |
---|
| 83 | attributeTypes: ( 1.3.6.1.4.1.9554.106 |
---|
| 84 | NAME 'phpgwPrefix' |
---|
| 85 | SUP name ) |
---|
| 86 | |
---|
| 87 | dn: cn=schema |
---|
| 88 | changetype: modify |
---|
| 89 | add: attributetypes |
---|
| 90 | attributeTypes: ( 1.3.6.1.4.1.9554.107 |
---|
| 91 | NAME 'phpgwSuffix' |
---|
| 92 | SUP name ) |
---|
| 93 | |
---|
| 94 | dn: cn=schema |
---|
| 95 | changetype: modify |
---|
| 96 | add: attributetypes |
---|
| 97 | attributeTypes: ( 1.3.6.1.4.1.9554.108 |
---|
| 98 | NAME 'phpgwAudio' |
---|
| 99 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.4{25000} ) |
---|
| 100 | |
---|
| 101 | dn: cn=schema |
---|
| 102 | changetype: modify |
---|
| 103 | add: attributetypes |
---|
| 104 | attributeTypes: ( 1.3.6.1.4.1.9554.109 |
---|
| 105 | NAME 'phpgwBirthday' |
---|
| 106 | EQUALITY caseIgnoreMatch |
---|
| 107 | SUBSTR caseIgnoreSubstringsMatch |
---|
| 108 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) |
---|
| 109 | |
---|
| 110 | dn: cn=schema |
---|
| 111 | changetype: modify |
---|
| 112 | add: attributetypes |
---|
| 113 | attributeTypes: ( 1.3.6.1.4.1.9554.110 |
---|
| 114 | NAME 'phpgwTz' |
---|
| 115 | EQUALITY integerMatch |
---|
| 116 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 |
---|
| 117 | SINGLE-VALUE ) |
---|
| 118 | |
---|
| 119 | dn: cn=schema |
---|
| 120 | changetype: modify |
---|
| 121 | add: attributetypes |
---|
| 122 | attributeTypes: ( 1.3.6.1.4.1.9554.111 |
---|
| 123 | NAME 'phpgwGeo' |
---|
| 124 | EQUALITY integerMatch |
---|
| 125 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 |
---|
| 126 | SINGLE-VALUE ) |
---|
| 127 | |
---|
| 128 | dn: cn=schema |
---|
| 129 | changetype: modify |
---|
| 130 | add: attributetypes |
---|
| 131 | attributeTypes: ( 1.3.6.1.4.1.9554.112 |
---|
| 132 | NAME 'phpgwUrl' |
---|
| 133 | EQUALITY caseIgnoreMatch |
---|
| 134 | SUBSTR caseIgnoreSubstringsMatch |
---|
| 135 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) |
---|
| 136 | |
---|
| 137 | dn: cn=schema |
---|
| 138 | changetype: modify |
---|
| 139 | add: attributetypes |
---|
| 140 | attributeTypes: ( 1.3.6.1.4.1.9554.113 |
---|
| 141 | NAME 'phpgwPublicKey' |
---|
| 142 | EQUALITY caseIgnoreMatch |
---|
| 143 | SUBSTR caseIgnoreSubstringsMatch |
---|
| 144 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) |
---|
| 145 | |
---|
| 146 | dn: cn=schema |
---|
| 147 | changetype: modify |
---|
| 148 | add: attributetypes |
---|
| 149 | attributeTypes: ( 1.3.6.1.4.1.9554.114 |
---|
| 150 | NAME 'phpgwAdrOneType' |
---|
| 151 | EQUALITY caseIgnoreMatch |
---|
| 152 | SUBSTR caseIgnoreSubstringsMatch |
---|
| 153 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) |
---|
| 154 | |
---|
| 155 | dn: cn=schema |
---|
| 156 | changetype: modify |
---|
| 157 | add: attributetypes |
---|
| 158 | attributeTypes: ( 1.3.6.1.4.1.9554.115 |
---|
| 159 | NAME 'phpgwAddressLabel' |
---|
| 160 | EQUALITY caseIgnoreListMatch |
---|
| 161 | SUBSTR caseIgnoreListSubstringsMatch |
---|
| 162 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.41 ) |
---|
| 163 | |
---|
| 164 | dn: cn=schema |
---|
| 165 | changetype: modify |
---|
| 166 | add: attributetypes |
---|
| 167 | attributeTypes: ( 1.3.6.1.4.1.9554.116 |
---|
| 168 | NAME 'phpgwAdrTwoStreet' |
---|
| 169 | SUP street ) |
---|
| 170 | |
---|
| 171 | dn: cn=schema |
---|
| 172 | changetype: modify |
---|
| 173 | add: attributetypes |
---|
| 174 | attributeTypes: ( 1.3.6.1.4.1.9554.117 |
---|
| 175 | NAME 'phpgwAdrTwoLocality' |
---|
| 176 | SUP l ) |
---|
| 177 | |
---|
| 178 | dn: cn=schema |
---|
| 179 | changetype: modify |
---|
| 180 | add: attributetypes |
---|
| 181 | attributeTypes: ( 1.3.6.1.4.1.9554.118 |
---|
| 182 | NAME 'phpgwAdrTwoRegion' |
---|
| 183 | SUP st ) |
---|
| 184 | |
---|
| 185 | dn: cn=schema |
---|
| 186 | changetype: modify |
---|
| 187 | add: attributetypes |
---|
| 188 | attributeTypes: ( 1.3.6.1.4.1.9554.119 |
---|
| 189 | NAME 'phpgwAdrTwoPostalCode' |
---|
| 190 | SUP postalcode ) |
---|
| 191 | |
---|
| 192 | dn: cn=schema |
---|
| 193 | changetype: modify |
---|
| 194 | add: attributetypes |
---|
| 195 | attributeTypes: ( 1.3.6.1.4.1.9554.120 |
---|
| 196 | NAME 'phpgwAdrTwoCountryName' |
---|
| 197 | SUP friendlyCountryName ) |
---|
| 198 | |
---|
| 199 | dn: cn=schema |
---|
| 200 | changetype: modify |
---|
| 201 | add: attributetypes |
---|
| 202 | attributeTypes: ( 1.3.6.1.4.1.9554.121 |
---|
| 203 | NAME 'phpgwAdrTwoType' |
---|
| 204 | SUP phpgwAdrOneType ) |
---|
| 205 | |
---|
| 206 | dn: cn=schema |
---|
| 207 | changetype: modify |
---|
| 208 | add: attributetypes |
---|
| 209 | attributeTypes: ( 1.3.6.1.4.1.9554.122 |
---|
| 210 | NAME 'phpgwVoiceTelephoneNumber' |
---|
| 211 | SUP telephonenumber ) |
---|
| 212 | |
---|
| 213 | dn: cn=schema |
---|
| 214 | changetype: modify |
---|
| 215 | add: attributetypes |
---|
| 216 | attributeTypes: ( 1.3.6.1.4.1.9554.123 |
---|
| 217 | NAME 'phpgwMsgTelephoneNumber' |
---|
| 218 | SUP telephonenumber ) |
---|
| 219 | |
---|
| 220 | dn: cn=schema |
---|
| 221 | changetype: modify |
---|
| 222 | add: attributetypes |
---|
| 223 | attributeTypes: ( 1.3.6.1.4.1.9554.124 |
---|
| 224 | NAME 'phpgwPagerTelephoneNumber' |
---|
| 225 | SUP telephonenumber ) |
---|
| 226 | |
---|
| 227 | dn: cn=schema |
---|
| 228 | changetype: modify |
---|
| 229 | add: attributetypes |
---|
| 230 | attributeTypes: ( 1.3.6.1.4.1.9554.125 |
---|
| 231 | NAME 'phpgwCellTelephoneNumber' |
---|
| 232 | SUP telephonenumber ) |
---|
| 233 | |
---|
| 234 | dn: cn=schema |
---|
| 235 | changetype: modify |
---|
| 236 | add: attributetypes |
---|
| 237 | attributeTypes: ( 1.3.6.1.4.1.9554.126 |
---|
| 238 | NAME 'phpgwBbsTelephoneNumber' |
---|
| 239 | SUP telephonenumber ) |
---|
| 240 | |
---|
| 241 | dn: cn=schema |
---|
| 242 | changetype: modify |
---|
| 243 | add: attributetypes |
---|
| 244 | attributeTypes: ( 1.3.6.1.4.1.9554.127 |
---|
| 245 | NAME 'phpgwModemTelephoneNumber' |
---|
| 246 | SUP telephonenumber ) |
---|
| 247 | |
---|
| 248 | dn: cn=schema |
---|
| 249 | changetype: modify |
---|
| 250 | add: attributetypes |
---|
| 251 | attributeTypes: ( 1.3.6.1.4.1.9554.128 |
---|
| 252 | NAME 'phpgwMobileTelephoneNumber' |
---|
| 253 | SUP telephonenumber ) |
---|
| 254 | |
---|
| 255 | dn: cn=schema |
---|
| 256 | changetype: modify |
---|
| 257 | add: attributetypes |
---|
| 258 | attributeTypes: ( 1.3.6.1.4.1.9554.129 |
---|
| 259 | NAME 'phpgwIsdnphoneNumber' |
---|
| 260 | SUP telephonenumber ) |
---|
| 261 | |
---|
| 262 | dn: cn=schema |
---|
| 263 | changetype: modify |
---|
| 264 | add: attributetypes |
---|
| 265 | attributeTypes: ( 1.3.6.1.4.1.9554.130 |
---|
| 266 | NAME 'phpgwVideophoneNumber' |
---|
| 267 | SUP telephonenumber ) |
---|
| 268 | |
---|
| 269 | dn: cn=schema |
---|
| 270 | changetype: modify |
---|
| 271 | add: attributetypes |
---|
| 272 | attributeTypes: ( 1.3.6.1.4.1.9554.131 |
---|
| 273 | NAME 'phpgwPreferPhone' |
---|
| 274 | EQUALITY caseExactIA5Match |
---|
| 275 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) |
---|
| 276 | |
---|
| 277 | dn: cn=schema |
---|
| 278 | changetype: modify |
---|
| 279 | add: attributetypes |
---|
| 280 | attributeTypes: ( 1.3.6.1.4.1.9554.132 |
---|
| 281 | NAME 'phpgwMailType' |
---|
| 282 | EQUALITY caseExactIA5Match |
---|
| 283 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) |
---|
| 284 | |
---|
| 285 | dn: cn=schema |
---|
| 286 | changetype: modify |
---|
| 287 | add: attributetypes |
---|
| 288 | attributeTypes: ( 1.3.6.1.4.1.9554.133 |
---|
| 289 | NAME 'phpgwMailHome' |
---|
| 290 | SUP mail ) |
---|
| 291 | |
---|
| 292 | dn: cn=schema |
---|
| 293 | changetype: modify |
---|
| 294 | add: attributetypes |
---|
| 295 | attributeTypes: ( 1.3.6.1.4.1.9554.134 |
---|
| 296 | NAME 'phpgwMailHomeType' |
---|
| 297 | SUP phpgwMailType ) |
---|
| 298 | |
---|
| 299 | # phpgwContact |
---|
| 300 | # The phpgwContact represents people who are associated with a |
---|
| 301 | # phpgw install in some way. It is a structural class and is derived |
---|
| 302 | # from the inetOrgPerson schema. |
---|
| 303 | dn: cn=schema |
---|
| 304 | changetype: modify |
---|
| 305 | add: objectClasses |
---|
| 306 | objectClasses: ( 1.3.6.1.4.1.9554.200 |
---|
| 307 | NAME 'phpgwContact' |
---|
| 308 | DESC 'phpGroupWare Contact Entry' |
---|
| 309 | SUP inetOrgPerson |
---|
| 310 | MUST( |
---|
| 311 | uid $ uidnumber $ phpgwContactTypeId $ phpgwContactCatId $ |
---|
| 312 | phpgwContactAccess $ phpgwContactOwner ) |
---|
| 313 | MAY ( cn $ givenname $ sn $ phpgwMiddlename $ phpgwPrefix $ |
---|
| 314 | phpgwSuffix $ phpgwAudio $ phpgwBirthday $ phpgwTz $ phpgwGeo $ |
---|
| 315 | phpgwUrl $ phpgwPublicKey $ o $ ou $ title $ streetaddress $ |
---|
| 316 | l $ st $ postalcode $ friendlyCountryName $ c $ co $ countryname $ |
---|
| 317 | phpgwAdrOneType $ phpgwAddressLabel $ |
---|
| 318 | phpgwAdrTwoStreet $ phpgwAdrTwoLocality $ phpgwAdrTwoRegion $ |
---|
| 319 | phpgwAdrTwoPostalCode $ phpgwAdrTwoCountryName $ phpgwAdrTwoType $ |
---|
| 320 | telephonenumber $ homephone $ phpgwVoiceTelephoneNumber $ facsimiletelephonenumber $ |
---|
| 321 | phpgwMsgTelephoneNumber $ phpgwCellTelephoneNumber $ phpgwPagerTelephoneNumber $ |
---|
| 322 | phpgwBbsTelephoneNumber $ phpgwModemTelephoneNumber $ |
---|
| 323 | phpgwMobileTelephoneNumber $ phpgwIsdnphoneNumber $ |
---|
| 324 | phpgwVideophoneNumber $ phpgwPreferPhone $ |
---|
| 325 | mail $ phpgwMailType $ phpgwMailHome $ phpgwMailHomeType ) |
---|
| 326 | ) |
---|
| 327 | |
---|