[5797] | 1 | ## |
---|
| 2 | ## schema file for OpenLDAP 2.x |
---|
| 3 | ## Schema for storing Samba user accounts and group maps in LDAP |
---|
| 4 | ## OIDs are owned by the Samba Team |
---|
| 5 | ## |
---|
| 6 | ## Prerequisite schemas - uid (cosine.schema) |
---|
| 7 | ## - displayName (inetorgperson.schema) |
---|
| 8 | ## - gidNumber (nis.schema) |
---|
| 9 | ## |
---|
| 10 | ## 1.3.6.1.4.1.7165.2.1.x - attributetypes |
---|
| 11 | ## 1.3.6.1.4.1.7165.2.2.x - objectclasses |
---|
| 12 | ## |
---|
| 13 | ## Printer support |
---|
| 14 | ## 1.3.6.1.4.1.7165.2.3.1.x - attributetypes |
---|
| 15 | ## 1.3.6.1.4.1.7165.2.3.2.x - objectclasses |
---|
| 16 | ## |
---|
| 17 | ## ----- READ THIS WHEN ADDING A NEW ATTRIBUTE OR OBJECT CLASS ------ |
---|
| 18 | ## |
---|
| 19 | ## Run the 'get_next_oid' bash script in this directory to find the |
---|
| 20 | ## next available OID for attribute type and object classes. |
---|
| 21 | ## |
---|
| 22 | ## $ ./get_next_oid |
---|
| 23 | ## attributetype ( 1.3.6.1.4.1.7165.2.1.XX NAME .... |
---|
| 24 | ## objectclass ( 1.3.6.1.4.1.7165.2.2.XX NAME .... |
---|
| 25 | ## |
---|
| 26 | ## Also ensure that new entries adhere to the declaration style |
---|
| 27 | ## used throughout this file |
---|
| 28 | ## |
---|
| 29 | ## <attributetype|objectclass> ( 1.3.6.1.4.1.7165.2.XX.XX NAME .... |
---|
| 30 | ## ^ ^ ^ |
---|
| 31 | ## |
---|
| 32 | ## The spaces are required for the get_next_oid script (and for |
---|
| 33 | ## readability). |
---|
| 34 | ## |
---|
| 35 | ## ------------------------------------------------------------------ |
---|
| 36 | |
---|
| 37 | # objectIdentifier SambaRoot 1.3.6.1.4.1.7165 |
---|
| 38 | # objectIdentifier Samba3 SambaRoot:2 |
---|
| 39 | # objectIdentifier Samba3Attrib Samba3:1 |
---|
| 40 | # objectIdentifier Samba3ObjectClass Samba3:2 |
---|
| 41 | |
---|
| 42 | ######################################################################## |
---|
| 43 | ## HISTORICAL ## |
---|
| 44 | ######################################################################## |
---|
| 45 | |
---|
| 46 | ## |
---|
| 47 | ## Password hashes |
---|
| 48 | ## |
---|
| 49 | #attributetype ( 1.3.6.1.4.1.7165.2.1.1 NAME 'lmPassword' |
---|
| 50 | # DESC 'LanManager Passwd' |
---|
| 51 | # EQUALITY caseIgnoreIA5Match |
---|
| 52 | # SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{32} SINGLE-VALUE ) |
---|
| 53 | |
---|
| 54 | #attributetype ( 1.3.6.1.4.1.7165.2.1.2 NAME 'ntPassword' |
---|
| 55 | # DESC 'NT Passwd' |
---|
| 56 | # EQUALITY caseIgnoreIA5Match |
---|
| 57 | # SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{32} SINGLE-VALUE ) |
---|
| 58 | |
---|
| 59 | ## |
---|
| 60 | ## Account flags in string format ([UWDX ]) |
---|
| 61 | ## |
---|
| 62 | #attributetype ( 1.3.6.1.4.1.7165.2.1.4 NAME 'acctFlags' |
---|
| 63 | # DESC 'Account Flags' |
---|
| 64 | # EQUALITY caseIgnoreIA5Match |
---|
| 65 | # SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{16} SINGLE-VALUE ) |
---|
| 66 | |
---|
| 67 | ## |
---|
| 68 | ## Password timestamps & policies |
---|
| 69 | ## |
---|
| 70 | #attributetype ( 1.3.6.1.4.1.7165.2.1.3 NAME 'pwdLastSet' |
---|
| 71 | # DESC 'NT pwdLastSet' |
---|
| 72 | # EQUALITY integerMatch |
---|
| 73 | # SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) |
---|
| 74 | |
---|
| 75 | #attributetype ( 1.3.6.1.4.1.7165.2.1.5 NAME 'logonTime' |
---|
| 76 | # DESC 'NT logonTime' |
---|
| 77 | # EQUALITY integerMatch |
---|
| 78 | # SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) |
---|
| 79 | |
---|
| 80 | #attributetype ( 1.3.6.1.4.1.7165.2.1.6 NAME 'logoffTime' |
---|
| 81 | # DESC 'NT logoffTime' |
---|
| 82 | # EQUALITY integerMatch |
---|
| 83 | # SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) |
---|
| 84 | |
---|
| 85 | #attributetype ( 1.3.6.1.4.1.7165.2.1.7 NAME 'kickoffTime' |
---|
| 86 | # DESC 'NT kickoffTime' |
---|
| 87 | # EQUALITY integerMatch |
---|
| 88 | # SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) |
---|
| 89 | |
---|
| 90 | #attributetype ( 1.3.6.1.4.1.7165.2.1.8 NAME 'pwdCanChange' |
---|
| 91 | # DESC 'NT pwdCanChange' |
---|
| 92 | # EQUALITY integerMatch |
---|
| 93 | # SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) |
---|
| 94 | |
---|
| 95 | #attributetype ( 1.3.6.1.4.1.7165.2.1.9 NAME 'pwdMustChange' |
---|
| 96 | # DESC 'NT pwdMustChange' |
---|
| 97 | # EQUALITY integerMatch |
---|
| 98 | # SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) |
---|
| 99 | |
---|
| 100 | ## |
---|
| 101 | ## string settings |
---|
| 102 | ## |
---|
| 103 | #attributetype ( 1.3.6.1.4.1.7165.2.1.10 NAME 'homeDrive' |
---|
| 104 | # DESC 'NT homeDrive' |
---|
| 105 | # EQUALITY caseIgnoreIA5Match |
---|
| 106 | # SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{4} SINGLE-VALUE ) |
---|
| 107 | |
---|
| 108 | #attributetype ( 1.3.6.1.4.1.7165.2.1.11 NAME 'scriptPath' |
---|
| 109 | # DESC 'NT scriptPath' |
---|
| 110 | # EQUALITY caseIgnoreIA5Match |
---|
| 111 | # SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{255} SINGLE-VALUE ) |
---|
| 112 | |
---|
| 113 | #attributetype ( 1.3.6.1.4.1.7165.2.1.12 NAME 'profilePath' |
---|
| 114 | # DESC 'NT profilePath' |
---|
| 115 | # EQUALITY caseIgnoreIA5Match |
---|
| 116 | # SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{255} SINGLE-VALUE ) |
---|
| 117 | |
---|
| 118 | #attributetype ( 1.3.6.1.4.1.7165.2.1.13 NAME 'userWorkstations' |
---|
| 119 | # DESC 'userWorkstations' |
---|
| 120 | # EQUALITY caseIgnoreIA5Match |
---|
| 121 | # SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{255} SINGLE-VALUE ) |
---|
| 122 | |
---|
| 123 | #attributetype ( 1.3.6.1.4.1.7165.2.1.17 NAME 'smbHome' |
---|
| 124 | # DESC 'smbHome' |
---|
| 125 | # EQUALITY caseIgnoreIA5Match |
---|
| 126 | # SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} ) |
---|
| 127 | |
---|
| 128 | #attributetype ( 1.3.6.1.4.1.7165.2.1.18 NAME 'domain' |
---|
| 129 | # DESC 'Windows NT domain to which the user belongs' |
---|
| 130 | # EQUALITY caseIgnoreIA5Match |
---|
| 131 | # SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} ) |
---|
| 132 | |
---|
| 133 | ## |
---|
| 134 | ## user and group RID |
---|
| 135 | ## |
---|
| 136 | #attributetype ( 1.3.6.1.4.1.7165.2.1.14 NAME 'rid' |
---|
| 137 | # DESC 'NT rid' |
---|
| 138 | # EQUALITY integerMatch |
---|
| 139 | # SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) |
---|
| 140 | |
---|
| 141 | #attributetype ( 1.3.6.1.4.1.7165.2.1.15 NAME 'primaryGroupID' |
---|
| 142 | # DESC 'NT Group RID' |
---|
| 143 | # EQUALITY integerMatch |
---|
| 144 | # SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) |
---|
| 145 | |
---|
| 146 | ## |
---|
| 147 | ## The smbPasswordEntry objectclass has been depreciated in favor of the |
---|
| 148 | ## sambaAccount objectclass |
---|
| 149 | ## |
---|
| 150 | #objectclass ( 1.3.6.1.4.1.7165.2.2.1 NAME 'smbPasswordEntry' SUP top AUXILIARY |
---|
| 151 | # DESC 'Samba smbpasswd entry' |
---|
| 152 | # MUST ( uid $ uidNumber ) |
---|
| 153 | # MAY ( lmPassword $ ntPassword $ pwdLastSet $ acctFlags )) |
---|
| 154 | |
---|
| 155 | #objectclass ( 1.3.6.1.4.1.7165.2.2.2 NAME 'sambaAccount' SUP top STRUCTURAL |
---|
| 156 | # DESC 'Samba Account' |
---|
| 157 | # MUST ( uid $ rid ) |
---|
| 158 | # MAY ( cn $ lmPassword $ ntPassword $ pwdLastSet $ logonTime $ |
---|
| 159 | # logoffTime $ kickoffTime $ pwdCanChange $ pwdMustChange $ acctFlags $ |
---|
| 160 | # displayName $ smbHome $ homeDrive $ scriptPath $ profilePath $ |
---|
| 161 | # description $ userWorkstations $ primaryGroupID $ domain )) |
---|
| 162 | |
---|
| 163 | #objectclass ( 1.3.6.1.4.1.7165.2.2.3 NAME 'sambaAccount' SUP top AUXILIARY |
---|
| 164 | # DESC 'Samba Auxiliary Account' |
---|
| 165 | # MUST ( uid $ rid ) |
---|
| 166 | # MAY ( cn $ lmPassword $ ntPassword $ pwdLastSet $ logonTime $ |
---|
| 167 | # logoffTime $ kickoffTime $ pwdCanChange $ pwdMustChange $ acctFlags $ |
---|
| 168 | # displayName $ smbHome $ homeDrive $ scriptPath $ profilePath $ |
---|
| 169 | # description $ userWorkstations $ primaryGroupID $ domain )) |
---|
| 170 | |
---|
| 171 | ######################################################################## |
---|
| 172 | ## END OF HISTORICAL ## |
---|
| 173 | ######################################################################## |
---|
| 174 | |
---|
| 175 | ####################################################################### |
---|
| 176 | ## Attributes used by Samba 3.0 schema ## |
---|
| 177 | ####################################################################### |
---|
| 178 | |
---|
| 179 | ## |
---|
| 180 | ## Password hashes |
---|
| 181 | ## |
---|
| 182 | attributetype ( 1.3.6.1.4.1.7165.2.1.24 NAME 'sambaLMPassword' |
---|
| 183 | DESC 'LanManager Password' |
---|
| 184 | EQUALITY caseIgnoreIA5Match |
---|
| 185 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{32} SINGLE-VALUE ) |
---|
| 186 | |
---|
| 187 | attributetype ( 1.3.6.1.4.1.7165.2.1.25 NAME 'sambaNTPassword' |
---|
| 188 | DESC 'MD4 hash of the unicode password' |
---|
| 189 | EQUALITY caseIgnoreIA5Match |
---|
| 190 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{32} SINGLE-VALUE ) |
---|
| 191 | |
---|
| 192 | ## |
---|
| 193 | ## Account flags in string format ([UWDX ]) |
---|
| 194 | ## |
---|
| 195 | attributetype ( 1.3.6.1.4.1.7165.2.1.26 NAME 'sambaAcctFlags' |
---|
| 196 | DESC 'Account Flags' |
---|
| 197 | EQUALITY caseIgnoreIA5Match |
---|
| 198 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{16} SINGLE-VALUE ) |
---|
| 199 | |
---|
| 200 | ## |
---|
| 201 | ## Password timestamps & policies |
---|
| 202 | ## |
---|
| 203 | attributetype ( 1.3.6.1.4.1.7165.2.1.27 NAME 'sambaPwdLastSet' |
---|
| 204 | DESC 'Timestamp of the last password update' |
---|
| 205 | EQUALITY integerMatch |
---|
| 206 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) |
---|
| 207 | |
---|
| 208 | attributetype ( 1.3.6.1.4.1.7165.2.1.28 NAME 'sambaPwdCanChange' |
---|
| 209 | DESC 'Timestamp of when the user is allowed to update the password' |
---|
| 210 | EQUALITY integerMatch |
---|
| 211 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) |
---|
| 212 | |
---|
| 213 | attributetype ( 1.3.6.1.4.1.7165.2.1.29 NAME 'sambaPwdMustChange' |
---|
| 214 | DESC 'Timestamp of when the password will expire' |
---|
| 215 | EQUALITY integerMatch |
---|
| 216 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) |
---|
| 217 | |
---|
| 218 | attributetype ( 1.3.6.1.4.1.7165.2.1.30 NAME 'sambaLogonTime' |
---|
| 219 | DESC 'Timestamp of last logon' |
---|
| 220 | EQUALITY integerMatch |
---|
| 221 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) |
---|
| 222 | |
---|
| 223 | attributetype ( 1.3.6.1.4.1.7165.2.1.31 NAME 'sambaLogoffTime' |
---|
| 224 | DESC 'Timestamp of last logoff' |
---|
| 225 | EQUALITY integerMatch |
---|
| 226 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) |
---|
| 227 | |
---|
| 228 | attributetype ( 1.3.6.1.4.1.7165.2.1.32 NAME 'sambaKickoffTime' |
---|
| 229 | DESC 'Timestamp of when the user will be logged off automatically' |
---|
| 230 | EQUALITY integerMatch |
---|
| 231 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) |
---|
| 232 | |
---|
| 233 | attributetype ( 1.3.6.1.4.1.7165.2.1.48 NAME 'sambaBadPasswordCount' |
---|
| 234 | DESC 'Bad password attempt count' |
---|
| 235 | EQUALITY integerMatch |
---|
| 236 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) |
---|
| 237 | |
---|
| 238 | attributetype ( 1.3.6.1.4.1.7165.2.1.49 NAME 'sambaBadPasswordTime' |
---|
| 239 | DESC 'Time of the last bad password attempt' |
---|
| 240 | EQUALITY integerMatch |
---|
| 241 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) |
---|
| 242 | |
---|
| 243 | attributetype ( 1.3.6.1.4.1.7165.2.1.55 NAME 'sambaLogonHours' |
---|
| 244 | DESC 'Logon Hours' |
---|
| 245 | EQUALITY caseIgnoreIA5Match |
---|
| 246 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{42} SINGLE-VALUE ) |
---|
| 247 | |
---|
| 248 | ## |
---|
| 249 | ## string settings |
---|
| 250 | ## |
---|
| 251 | attributetype ( 1.3.6.1.4.1.7165.2.1.33 NAME 'sambaHomeDrive' |
---|
| 252 | DESC 'Driver letter of home directory mapping' |
---|
| 253 | EQUALITY caseIgnoreIA5Match |
---|
| 254 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{4} SINGLE-VALUE ) |
---|
| 255 | |
---|
| 256 | attributetype ( 1.3.6.1.4.1.7165.2.1.34 NAME 'sambaLogonScript' |
---|
| 257 | DESC 'Logon script path' |
---|
| 258 | EQUALITY caseIgnoreMatch |
---|
| 259 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{255} SINGLE-VALUE ) |
---|
| 260 | |
---|
| 261 | attributetype ( 1.3.6.1.4.1.7165.2.1.35 NAME 'sambaProfilePath' |
---|
| 262 | DESC 'Roaming profile path' |
---|
| 263 | EQUALITY caseIgnoreMatch |
---|
| 264 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{255} SINGLE-VALUE ) |
---|
| 265 | |
---|
| 266 | attributetype ( 1.3.6.1.4.1.7165.2.1.36 NAME 'sambaUserWorkstations' |
---|
| 267 | DESC 'List of user workstations the user is allowed to logon to' |
---|
| 268 | EQUALITY caseIgnoreMatch |
---|
| 269 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{255} SINGLE-VALUE ) |
---|
| 270 | |
---|
| 271 | attributetype ( 1.3.6.1.4.1.7165.2.1.37 NAME 'sambaHomePath' |
---|
| 272 | DESC 'Home directory UNC path' |
---|
| 273 | EQUALITY caseIgnoreMatch |
---|
| 274 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} ) |
---|
| 275 | |
---|
| 276 | attributetype ( 1.3.6.1.4.1.7165.2.1.38 NAME 'sambaDomainName' |
---|
| 277 | DESC 'Windows NT domain to which the user belongs' |
---|
| 278 | EQUALITY caseIgnoreMatch |
---|
| 279 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} ) |
---|
| 280 | |
---|
| 281 | attributetype ( 1.3.6.1.4.1.7165.2.1.47 NAME 'sambaMungedDial' |
---|
| 282 | DESC '' |
---|
| 283 | EQUALITY caseExactMatch |
---|
| 284 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1050} ) |
---|
| 285 | |
---|
| 286 | attributetype ( 1.3.6.1.4.1.7165.2.1.54 NAME 'sambaPasswordHistory' |
---|
| 287 | DESC 'Concatenated MD4 hashes of the unicode passwords used on this account' |
---|
| 288 | EQUALITY caseIgnoreIA5Match |
---|
| 289 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{32} ) |
---|
| 290 | |
---|
| 291 | ## |
---|
| 292 | ## SID, of any type |
---|
| 293 | ## |
---|
| 294 | |
---|
| 295 | attributetype ( 1.3.6.1.4.1.7165.2.1.20 NAME 'sambaSID' |
---|
| 296 | DESC 'Security ID' |
---|
| 297 | EQUALITY caseIgnoreIA5Match |
---|
| 298 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{64} SINGLE-VALUE ) |
---|
| 299 | |
---|
| 300 | |
---|
| 301 | ## |
---|
| 302 | ## Primary group SID, compatible with ntSid |
---|
| 303 | ## |
---|
| 304 | |
---|
| 305 | attributetype ( 1.3.6.1.4.1.7165.2.1.23 NAME 'sambaPrimaryGroupSID' |
---|
| 306 | DESC 'Primary Group Security ID' |
---|
| 307 | EQUALITY caseIgnoreIA5Match |
---|
| 308 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{64} SINGLE-VALUE ) |
---|
| 309 | |
---|
| 310 | attributetype ( 1.3.6.1.4.1.7165.2.1.51 NAME 'sambaSIDList' |
---|
| 311 | DESC 'Security ID List' |
---|
| 312 | EQUALITY caseIgnoreIA5Match |
---|
| 313 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{64} ) |
---|
| 314 | |
---|
| 315 | ## |
---|
| 316 | ## group mapping attributes |
---|
| 317 | ## |
---|
| 318 | attributetype ( 1.3.6.1.4.1.7165.2.1.19 NAME 'sambaGroupType' |
---|
| 319 | DESC 'NT Group Type' |
---|
| 320 | EQUALITY integerMatch |
---|
| 321 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) |
---|
| 322 | |
---|
| 323 | ## |
---|
| 324 | ## Store info on the domain |
---|
| 325 | ## |
---|
| 326 | |
---|
| 327 | attributetype ( 1.3.6.1.4.1.7165.2.1.21 NAME 'sambaNextUserRid' |
---|
| 328 | DESC 'Next NT rid to give our for users' |
---|
| 329 | EQUALITY integerMatch |
---|
| 330 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) |
---|
| 331 | |
---|
| 332 | attributetype ( 1.3.6.1.4.1.7165.2.1.22 NAME 'sambaNextGroupRid' |
---|
| 333 | DESC 'Next NT rid to give out for groups' |
---|
| 334 | EQUALITY integerMatch |
---|
| 335 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) |
---|
| 336 | |
---|
| 337 | attributetype ( 1.3.6.1.4.1.7165.2.1.39 NAME 'sambaNextRid' |
---|
| 338 | DESC 'Next NT rid to give out for anything' |
---|
| 339 | EQUALITY integerMatch |
---|
| 340 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) |
---|
| 341 | |
---|
| 342 | attributetype ( 1.3.6.1.4.1.7165.2.1.40 NAME 'sambaAlgorithmicRidBase' |
---|
| 343 | DESC 'Base at which the samba RID generation algorithm should operate' |
---|
| 344 | EQUALITY integerMatch |
---|
| 345 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) |
---|
| 346 | |
---|
| 347 | attributetype ( 1.3.6.1.4.1.7165.2.1.41 NAME 'sambaShareName' |
---|
| 348 | DESC 'Share Name' |
---|
| 349 | EQUALITY caseIgnoreMatch |
---|
| 350 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE ) |
---|
| 351 | |
---|
| 352 | attributetype ( 1.3.6.1.4.1.7165.2.1.42 NAME 'sambaOptionName' |
---|
| 353 | DESC 'Option Name' |
---|
| 354 | EQUALITY caseIgnoreMatch |
---|
| 355 | SUBSTR caseIgnoreSubstringsMatch |
---|
| 356 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ) |
---|
| 357 | |
---|
| 358 | attributetype ( 1.3.6.1.4.1.7165.2.1.43 NAME 'sambaBoolOption' |
---|
| 359 | DESC 'A boolean option' |
---|
| 360 | EQUALITY booleanMatch |
---|
| 361 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE ) |
---|
| 362 | |
---|
| 363 | attributetype ( 1.3.6.1.4.1.7165.2.1.44 NAME 'sambaIntegerOption' |
---|
| 364 | DESC 'An integer option' |
---|
| 365 | EQUALITY integerMatch |
---|
| 366 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) |
---|
| 367 | |
---|
| 368 | attributetype ( 1.3.6.1.4.1.7165.2.1.45 NAME 'sambaStringOption' |
---|
| 369 | DESC 'A string option' |
---|
| 370 | EQUALITY caseExactIA5Match |
---|
| 371 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) |
---|
| 372 | |
---|
| 373 | attributetype ( 1.3.6.1.4.1.7165.2.1.46 NAME 'sambaStringListOption' |
---|
| 374 | DESC 'A string list option' |
---|
| 375 | EQUALITY caseIgnoreMatch |
---|
| 376 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) |
---|
| 377 | |
---|
| 378 | |
---|
| 379 | attributetype ( 1.3.6.1.4.1.7165.2.1.50 NAME 'sambaPrivName' |
---|
| 380 | SUP name ) |
---|
| 381 | |
---|
| 382 | attributetype ( 1.3.6.1.4.1.7165.2.1.52 NAME 'sambaPrivilegeList' |
---|
| 383 | DESC 'Privileges List' |
---|
| 384 | EQUALITY caseIgnoreIA5Match |
---|
| 385 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{64} ) |
---|
| 386 | |
---|
| 387 | attributetype ( 1.3.6.1.4.1.7165.2.1.53 NAME 'sambaTrustFlags' |
---|
| 388 | DESC 'Trust Password Flags' |
---|
| 389 | EQUALITY caseIgnoreIA5Match |
---|
| 390 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) |
---|
| 391 | |
---|
| 392 | |
---|
| 393 | ####################################################################### |
---|
| 394 | ## objectClasses used by Samba 3.0 schema ## |
---|
| 395 | ####################################################################### |
---|
| 396 | |
---|
| 397 | ## The X.500 data model (and therefore LDAPv3) says that each entry can |
---|
| 398 | ## only have one structural objectclass. OpenLDAP 2.0 does not enforce |
---|
| 399 | ## this currently but will in v2.1 |
---|
| 400 | |
---|
| 401 | ## |
---|
| 402 | ## added new objectclass (and OID) for 3.0 to help us deal with backwards |
---|
| 403 | ## compatibility with 2.2 installations (e.g. ldapsam_compat) --jerry |
---|
| 404 | ## |
---|
| 405 | objectclass ( 1.3.6.1.4.1.7165.2.2.6 NAME 'sambaSamAccount' SUP top AUXILIARY |
---|
| 406 | DESC 'Samba 3.0 Auxilary SAM Account' |
---|
| 407 | MUST ( uid $ sambaSID ) |
---|
| 408 | MAY ( cn $ sambaLMPassword $ sambaNTPassword $ sambaPwdLastSet $ |
---|
| 409 | sambaLogonTime $ sambaLogoffTime $ sambaKickoffTime $ |
---|
| 410 | sambaPwdCanChange $ sambaPwdMustChange $ sambaAcctFlags $ |
---|
| 411 | displayName $ sambaHomePath $ sambaHomeDrive $ sambaLogonScript $ |
---|
| 412 | sambaProfilePath $ description $ sambaUserWorkstations $ |
---|
| 413 | sambaPrimaryGroupSID $ sambaDomainName $ sambaMungedDial $ |
---|
| 414 | sambaBadPasswordCount $ sambaBadPasswordTime $ |
---|
| 415 | sambaPasswordHistory $ sambaLogonHours)) |
---|
| 416 | |
---|
| 417 | ## |
---|
| 418 | ## Group mapping info |
---|
| 419 | ## |
---|
| 420 | objectclass ( 1.3.6.1.4.1.7165.2.2.4 NAME 'sambaGroupMapping' SUP top AUXILIARY |
---|
| 421 | DESC 'Samba Group Mapping' |
---|
| 422 | MUST ( gidNumber $ sambaSID $ sambaGroupType ) |
---|
| 423 | MAY ( displayName $ description $ sambaSIDList )) |
---|
| 424 | |
---|
| 425 | ## |
---|
| 426 | ## Trust password for trust relationships (any kind) |
---|
| 427 | ## |
---|
| 428 | objectclass ( 1.3.6.1.4.1.7165.2.2.14 NAME 'sambaTrustPassword' SUP top STRUCTURAL |
---|
| 429 | DESC 'Samba Trust Password' |
---|
| 430 | MUST ( sambaDomainName $ sambaNTPassword $ sambaTrustFlags ) |
---|
| 431 | MAY ( sambaSID $ sambaPwdLastSet )) |
---|
| 432 | |
---|
| 433 | ## |
---|
| 434 | ## Whole-of-domain info |
---|
| 435 | ## |
---|
| 436 | objectclass ( 1.3.6.1.4.1.7165.2.2.5 NAME 'sambaDomain' SUP top STRUCTURAL |
---|
| 437 | DESC 'Samba Domain Information' |
---|
| 438 | MUST ( sambaDomainName $ |
---|
| 439 | sambaSID ) |
---|
| 440 | MAY ( sambaNextRid $ sambaNextGroupRid $ sambaNextUserRid $ |
---|
| 441 | sambaAlgorithmicRidBase ) ) |
---|
| 442 | |
---|
| 443 | ## |
---|
| 444 | ## used for idmap_ldap module |
---|
| 445 | ## |
---|
| 446 | objectclass ( 1.3.6.1.4.1.7165.2.2.7 NAME 'sambaUnixIdPool' SUP top AUXILIARY |
---|
| 447 | DESC 'Pool for allocating UNIX uids/gids' |
---|
| 448 | MUST ( uidNumber $ gidNumber ) ) |
---|
| 449 | |
---|
| 450 | |
---|
| 451 | objectclass ( 1.3.6.1.4.1.7165.2.2.8 NAME 'sambaIdmapEntry' SUP top AUXILIARY |
---|
| 452 | DESC 'Mapping from a SID to an ID' |
---|
| 453 | MUST ( sambaSID ) |
---|
| 454 | MAY ( uidNumber $ gidNumber ) ) |
---|
| 455 | |
---|
| 456 | objectclass ( 1.3.6.1.4.1.7165.2.2.9 NAME 'sambaSidEntry' SUP top STRUCTURAL |
---|
| 457 | DESC 'Structural Class for a SID' |
---|
| 458 | MUST ( sambaSID ) ) |
---|
| 459 | |
---|
| 460 | objectclass ( 1.3.6.1.4.1.7165.1.2.2.10 NAME 'sambaConfig' SUP top AUXILIARY |
---|
| 461 | DESC 'Samba Configuration Section' |
---|
| 462 | MAY ( description ) ) |
---|
| 463 | |
---|
| 464 | objectclass ( 1.3.6.1.4.1.7165.2.2.11 NAME 'sambaShare' SUP top STRUCTURAL |
---|
| 465 | DESC 'Samba Share Section' |
---|
| 466 | MUST ( sambaShareName ) |
---|
| 467 | MAY ( description ) ) |
---|
| 468 | |
---|
| 469 | objectclass ( 1.3.6.1.4.1.7165.2.2.12 NAME 'sambaConfigOption' SUP top STRUCTURAL |
---|
| 470 | DESC 'Samba Configuration Option' |
---|
| 471 | MUST ( sambaOptionName ) |
---|
| 472 | MAY ( sambaBoolOption $ sambaIntegerOption $ sambaStringOption $ |
---|
| 473 | sambaStringListoption $ description ) ) |
---|
| 474 | |
---|
| 475 | |
---|
| 476 | objectclass ( 1.3.6.1.4.1.7165.2.2.13 NAME 'sambaPrivilege' SUP top AUXILIARY |
---|
| 477 | DESC 'Samba Privilege' |
---|
| 478 | MUST ( sambaSID ) |
---|
| 479 | MAY ( sambaPrivilegeList ) ) |
---|
| 480 | |
---|