[23095] | 1 | create table users |
---|
| 2 | ( |
---|
| 3 | login VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 4 | users_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 5 | unix_uid SMALLINT DEFAULT 0 NOT NULL, |
---|
| 6 | shell VARCHAR(32) DEFAULT CHR(0) NOT NULL, |
---|
| 7 | winconsoleshell VARCHAR(32) DEFAULT 'cmd' NOT NULL, |
---|
| 8 | last VARCHAR(30) DEFAULT CHR(0) NOT NULL, |
---|
| 9 | first VARCHAR(30) DEFAULT CHR(0) NOT NULL, |
---|
| 10 | middle VARCHAR(30) DEFAULT CHR(0) NOT NULL, |
---|
| 11 | status SMALLINT DEFAULT 0 NOT NULL, |
---|
| 12 | clearid VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
| 13 | type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 14 | comments INTEGER DEFAULT 0 NOT NULL, |
---|
| 15 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
| 16 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
| 17 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 18 | fullname VARCHAR(92) DEFAULT CHR(0) NOT NULL, |
---|
| 19 | nickname VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
| 20 | home_addr VARCHAR(82) DEFAULT CHR(0) NOT NULL, |
---|
| 21 | home_phone VARCHAR(24) DEFAULT CHR(0) NOT NULL, |
---|
| 22 | office_addr VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
| 23 | office_phone VARCHAR(24) DEFAULT CHR(0) NOT NULL, |
---|
| 24 | department VARCHAR(50) DEFAULT CHR(0) NOT NULL, |
---|
| 25 | affiliation VARCHAR(50) DEFAULT CHR(0) NOT NULL, |
---|
| 26 | fmodtime DATE DEFAULT SYSDATE NOT NULL, |
---|
| 27 | fmodby INTEGER DEFAULT 0 NOT NULL, |
---|
| 28 | fmodwith VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 29 | potype VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 30 | pop_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 31 | imap_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 32 | box_id INTEGER DEFAULT 0 NOT NULL, |
---|
[23178] | 33 | exchange_id INTEGER DEFAULT 0 NOT NULL, |
---|
[23095] | 34 | pmodtime DATE DEFAULT SYSDATE NOT NULL, |
---|
| 35 | pmodby INTEGER DEFAULT 0 NOT NULL, |
---|
| 36 | pmodwith VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 37 | xname VARCHAR(30) DEFAULT CHR(0) NOT NULL, |
---|
| 38 | xdept VARCHAR(50) DEFAULT CHR(0) NOT NULL, |
---|
| 39 | xtitle VARCHAR(50) DEFAULT CHR(0) NOT NULL, |
---|
| 40 | xaddress VARCHAR(82) DEFAULT CHR(0) NOT NULL, |
---|
| 41 | xphone1 VARCHAR(24) DEFAULT CHR(0) NOT NULL, |
---|
| 42 | xphone2 VARCHAR(24) DEFAULT CHR(0) NOT NULL, |
---|
| 43 | xmodtime DATE DEFAULT SYSDATE NOT NULL, |
---|
| 44 | sigdate INTEGER DEFAULT 0 NOT NULL, |
---|
| 45 | sigwho INTEGER DEFAULT 0 NOT NULL, |
---|
| 46 | signature VARCHAR(68) DEFAULT CHR(0) NOT NULL, |
---|
| 47 | secure INTEGER DEFAULT 0 NOT NULL, |
---|
| 48 | pin VARCHAR(10) DEFAULT CHR(0) NOT NULL, |
---|
| 49 | reservations VARCHAR(10) DEFAULT CHR(0) NOT NULL, |
---|
| 50 | flag INTEGER DEFAULT 0 NOT NULL, |
---|
| 51 | created DATE DEFAULT SYSDATE NOT NULL, |
---|
| 52 | creator INTEGER DEFAULT 0 NOT NULL, |
---|
| 53 | winhomedir VARCHAR(260) DEFAULT '[DFS]' NOT NULL, |
---|
| 54 | winprofiledir VARCHAR(260) DEFAULT '[DFS]' NOT NULL, |
---|
| 55 | sponsor_type VARCHAR(8) DEFAULT 'NONE' NOT NULL, |
---|
| 56 | sponsor_id INTEGER DEFAULT 0 NOT NULL, |
---|
[24319] | 57 | expiration VARCHAR(24) DEFAULT CHR(0) NOT NULL, |
---|
| 58 | alternate_email VARCHAR(255) DEFAULT CHR(0) NOT NULL, |
---|
| 59 | alternate_phone VARCHAR(24) DEFAULT CHR(0) NOT NULL |
---|
[23095] | 60 | ); |
---|
| 61 | |
---|
| 62 | create table krbmap |
---|
| 63 | ( |
---|
| 64 | users_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 65 | string_id INTEGER DEFAULT 0 NOT NULL |
---|
| 66 | ); |
---|
| 67 | |
---|
| 68 | create table machine |
---|
| 69 | ( |
---|
| 70 | name VARCHAR(255) DEFAULT CHR(0) NOT NULL, |
---|
| 71 | mach_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 72 | vendor VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
| 73 | model VARCHAR(24) DEFAULT CHR(0) NOT NULL, |
---|
| 74 | os VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
| 75 | location VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
| 76 | contact VARCHAR(255) DEFAULT CHR(0) NOT NULL, |
---|
| 77 | billing_contact VARCHAR(255) DEFAULT CHR(0) NOT NULL, |
---|
| 78 | account_number VARCHAR(10) DEFAULT CHR(0) NOT NULL, |
---|
| 79 | use INTEGER DEFAULT 0 NOT NULL, |
---|
| 80 | status INTEGER DEFAULT 0 NOT NULL, |
---|
| 81 | statuschange DATE DEFAULT SYSDATE NOT NULL, |
---|
| 82 | snet_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 83 | address VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
| 84 | hwaddr VARCHAR(12) DEFAULT CHR(0) NOT NULL, |
---|
| 85 | owner_type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 86 | owner_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 87 | acomment INTEGER DEFAULT 0 NOT NULL, |
---|
| 88 | ocomment INTEGER DEFAULT 0 NOT NULL, |
---|
| 89 | created DATE DEFAULT SYSDATE NOT NULL, |
---|
| 90 | creator INTEGER DEFAULT 0 NOT NULL, |
---|
| 91 | inuse DATE DEFAULT SYSDATE NOT NULL, |
---|
| 92 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
| 93 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
| 94 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
| 95 | ); |
---|
| 96 | |
---|
| 97 | create table hostalias |
---|
| 98 | ( |
---|
| 99 | name VARCHAR(255) DEFAULT CHR(0) NOT NULL, |
---|
| 100 | mach_id INTEGER DEFAULT 0 NOT NULL |
---|
| 101 | ); |
---|
| 102 | |
---|
| 103 | create table subnet |
---|
| 104 | ( |
---|
| 105 | name VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
| 106 | snet_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 107 | description VARCHAR(48) DEFAULT CHR(0) NOT NULL, |
---|
| 108 | status INTEGER DEFAULT 0 NOT NULL, |
---|
| 109 | contact VARCHAR(255) DEFAULT CHR(0) NOT NULL, |
---|
| 110 | account_number VARCHAR(10) DEFAULT CHR(0) NOT NULL, |
---|
| 111 | saddr INTEGER DEFAULT 0 NOT NULL, |
---|
| 112 | mask INTEGER DEFAULT 0 NOT NULL, |
---|
| 113 | low INTEGER DEFAULT 0 NOT NULL, |
---|
| 114 | high INTEGER DEFAULT 0 NOT NULL, |
---|
| 115 | prefix VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 116 | owner_type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 117 | owner_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 118 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
| 119 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
| 120 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
| 121 | ); |
---|
| 122 | |
---|
| 123 | create table clusters |
---|
| 124 | ( |
---|
| 125 | name VARCHAR(32) DEFAULT CHR(0) NOT NULL, |
---|
| 126 | clu_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 127 | description VARCHAR(32) DEFAULT CHR(0) NOT NULL, |
---|
| 128 | location VARCHAR(64) DEFAULT CHR(0) NOT NULL, |
---|
| 129 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
| 130 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
| 131 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
| 132 | ); |
---|
| 133 | |
---|
| 134 | create table mcmap |
---|
| 135 | ( |
---|
| 136 | mach_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 137 | clu_id INTEGER DEFAULT 0 NOT NULL |
---|
| 138 | ); |
---|
| 139 | |
---|
| 140 | create table svc |
---|
| 141 | ( |
---|
| 142 | clu_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 143 | serv_label VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
| 144 | serv_cluster VARCHAR(128) DEFAULT CHR(0) NOT NULL |
---|
| 145 | ); |
---|
| 146 | |
---|
| 147 | create table list |
---|
| 148 | ( |
---|
[23932] | 149 | name VARCHAR(56) DEFAULT CHR(0) NOT NULL, |
---|
[23095] | 150 | list_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 151 | active INTEGER DEFAULT 0 NOT NULL, |
---|
| 152 | publicflg INTEGER DEFAULT 0 NOT NULL, |
---|
| 153 | hidden INTEGER DEFAULT 0 NOT NULL, |
---|
| 154 | maillist INTEGER DEFAULT 0 NOT NULL, |
---|
| 155 | grouplist INTEGER DEFAULT 0 NOT NULL, |
---|
| 156 | gid SMALLINT DEFAULT 0 NOT NULL, |
---|
| 157 | nfsgroup INTEGER DEFAULT 0 NOT NULL, |
---|
| 158 | mailman INTEGER DEFAULT 0 NOT NULL, |
---|
| 159 | mailman_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 160 | description VARCHAR(255) DEFAULT CHR(0) NOT NULL, |
---|
| 161 | acl_type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 162 | acl_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 163 | memacl_type VARCHAR(8) DEFAULT 'NONE' NOT NULL, |
---|
| 164 | memacl_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 165 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
| 166 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
| 167 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
| 168 | ); |
---|
| 169 | |
---|
| 170 | create table imembers |
---|
| 171 | ( |
---|
| 172 | list_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 173 | member_type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 174 | member_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 175 | tag INTEGER DEFAULT 0 NOT NULL, |
---|
| 176 | ref_count SMALLINT DEFAULT 0 NOT NULL, |
---|
| 177 | direct SMALLINT DEFAULT 0 NOT NULL |
---|
| 178 | ); |
---|
| 179 | |
---|
| 180 | create table servers |
---|
| 181 | ( |
---|
| 182 | name VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
| 183 | update_int INTEGER DEFAULT 0 NOT NULL, |
---|
| 184 | target_file VARCHAR(64) DEFAULT CHR(0) NOT NULL, |
---|
| 185 | script VARCHAR(128) DEFAULT CHR(0) NOT NULL, |
---|
| 186 | dfgen INTEGER DEFAULT 0 NOT NULL, |
---|
| 187 | dfcheck INTEGER DEFAULT 0 NOT NULL, |
---|
| 188 | type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 189 | enable INTEGER DEFAULT 0 NOT NULL, |
---|
| 190 | inprogress INTEGER DEFAULT 0 NOT NULL, |
---|
| 191 | harderror INTEGER DEFAULT 0 NOT NULL, |
---|
| 192 | errmsg VARCHAR(80) DEFAULT CHR(0) NOT NULL, |
---|
| 193 | acl_type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 194 | acl_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 195 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
| 196 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
| 197 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
| 198 | ); |
---|
| 199 | |
---|
| 200 | create table serverhosts |
---|
| 201 | ( |
---|
| 202 | service VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
| 203 | mach_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 204 | success INTEGER DEFAULT 0 NOT NULL, |
---|
| 205 | enable INTEGER DEFAULT 0 NOT NULL, |
---|
| 206 | override INTEGER DEFAULT 0 NOT NULL, |
---|
| 207 | inprogress INTEGER DEFAULT 0 NOT NULL, |
---|
| 208 | hosterror INTEGER DEFAULT 0 NOT NULL, |
---|
| 209 | hosterrmsg VARCHAR(80) DEFAULT CHR(0) NOT NULL, |
---|
| 210 | ltt INTEGER DEFAULT 0 NOT NULL, |
---|
| 211 | lts INTEGER DEFAULT 0 NOT NULL, |
---|
| 212 | value1 INTEGER DEFAULT 0 NOT NULL, |
---|
| 213 | value2 INTEGER DEFAULT 0 NOT NULL, |
---|
| 214 | value3 VARCHAR(32) DEFAULT CHR(0) NOT NULL, |
---|
| 215 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
| 216 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
| 217 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
| 218 | ); |
---|
| 219 | |
---|
| 220 | create table filesys |
---|
| 221 | ( |
---|
| 222 | filsys_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 223 | phys_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 224 | label VARCHAR(32) DEFAULT CHR(0) NOT NULL, |
---|
| 225 | fs_order INTEGER DEFAULT 0 NOT NULL, |
---|
| 226 | type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 227 | mach_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 228 | name VARCHAR(80) DEFAULT CHR(0) NOT NULL, |
---|
| 229 | mount VARCHAR(32) DEFAULT CHR(0) NOT NULL, |
---|
| 230 | rwaccess CHAR(1) DEFAULT CHR(0) NOT NULL, |
---|
| 231 | comments VARCHAR(64) DEFAULT CHR(0) NOT NULL, |
---|
| 232 | owner INTEGER DEFAULT 0 NOT NULL, |
---|
| 233 | owners INTEGER DEFAULT 0 NOT NULL, |
---|
| 234 | createflg INTEGER DEFAULT 0 NOT NULL, |
---|
| 235 | lockertype VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 236 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
| 237 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
| 238 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
| 239 | ); |
---|
| 240 | |
---|
| 241 | create table fsgroup |
---|
| 242 | ( |
---|
| 243 | group_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 244 | filsys_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 245 | key VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
| 246 | ); |
---|
| 247 | |
---|
| 248 | create table nfsphys |
---|
| 249 | ( |
---|
| 250 | nfsphys_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 251 | mach_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 252 | device VARCHAR(32) DEFAULT CHR(0) NOT NULL, |
---|
| 253 | dir VARCHAR(64) DEFAULT CHR(0) NOT NULL, |
---|
| 254 | status SMALLINT DEFAULT 0 NOT NULL, |
---|
| 255 | allocated INTEGER DEFAULT 0 NOT NULL, |
---|
| 256 | partsize INTEGER DEFAULT 0 NOT NULL, |
---|
| 257 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
| 258 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
| 259 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
| 260 | ); |
---|
| 261 | |
---|
| 262 | create table quota |
---|
| 263 | ( |
---|
| 264 | filsys_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 265 | type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 266 | entity_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 267 | phys_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 268 | quota INTEGER DEFAULT 0 NOT NULL, |
---|
| 269 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
| 270 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
| 271 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
| 272 | ); |
---|
| 273 | |
---|
| 274 | create table zephyr |
---|
| 275 | ( |
---|
| 276 | class VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
| 277 | xmt_type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 278 | xmt_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 279 | sub_type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 280 | sub_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 281 | iws_type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 282 | iws_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 283 | iui_type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 284 | iui_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 285 | owner_type VARCHAR(8) DEFAULT 'NONE' NOT NULL, |
---|
| 286 | owner_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 287 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
| 288 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
| 289 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
| 290 | ); |
---|
| 291 | |
---|
| 292 | create table hostaccess |
---|
| 293 | ( |
---|
| 294 | mach_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 295 | acl_type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 296 | acl_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 297 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
| 298 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
| 299 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
| 300 | ); |
---|
| 301 | |
---|
| 302 | create table acl |
---|
| 303 | ( |
---|
| 304 | mach_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 305 | target VARCHAR(128) DEFAULT CHR(0) NOT NULL, |
---|
| 306 | kind VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
| 307 | list_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 308 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
| 309 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
| 310 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
| 311 | ); |
---|
| 312 | |
---|
| 313 | create table strings |
---|
| 314 | ( |
---|
| 315 | string_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 316 | string VARCHAR(128) DEFAULT CHR(0) NOT NULL |
---|
| 317 | ); |
---|
| 318 | |
---|
| 319 | create table services |
---|
| 320 | ( |
---|
| 321 | name VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
| 322 | protocol VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 323 | port SMALLINT DEFAULT 0 NOT NULL, |
---|
| 324 | description VARCHAR(64) DEFAULT CHR(0) NOT NULL, |
---|
| 325 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
| 326 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
| 327 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
| 328 | ); |
---|
| 329 | |
---|
| 330 | create table printers |
---|
| 331 | ( |
---|
| 332 | name VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
| 333 | type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
[23882] | 334 | hwtype VARCHAR(64) DEFAULT CHR(0) NOT NULL, |
---|
[23095] | 335 | duplexname VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
[24319] | 336 | duplexdefault INTEGER DEFAULT 0 NOT NULL, |
---|
| 337 | holddefault INTEGER DEFAULT 0 NOT NULL, |
---|
| 338 | status INTEGER DEFAULT 0 NOT NULL, |
---|
[23095] | 339 | mach_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 340 | loghost INTEGER DEFAULT 0 NOT NULL, |
---|
| 341 | rm INTEGER DEFAULT 0 NOT NULL, |
---|
| 342 | rp VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
| 343 | rq INTEGER DEFAULT 0 NOT NULL, |
---|
| 344 | ka SMALLINT DEFAULT 0 NOT NULL, |
---|
| 345 | pc SMALLINT DEFAULT 0 NOT NULL, |
---|
| 346 | mc SMALLINT DEFAULT 0 NOT NULL, |
---|
| 347 | ac INTEGER DEFAULT 0 NOT NULL, |
---|
| 348 | lpc_acl INTEGER DEFAULT 0 NOT NULL, |
---|
[24319] | 349 | report_list INTEGER DEFAULT 0 NOT NULL, |
---|
[23095] | 350 | banner INTEGER DEFAULT 0 NOT NULL, |
---|
| 351 | location VARCHAR(64) DEFAULT CHR(0) NOT NULL, |
---|
| 352 | contact VARCHAR(64) DEFAULT CHR(0) NOT NULL, |
---|
| 353 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
| 354 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
| 355 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
| 356 | ); |
---|
| 357 | |
---|
| 358 | create table printservers |
---|
| 359 | ( |
---|
| 360 | mach_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 361 | kind VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 362 | printer_types INTEGER DEFAULT 0 NOT NULL, |
---|
| 363 | owner_type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 364 | owner_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 365 | lpc_acl INTEGER DEFAULT 0 NOT NULL, |
---|
| 366 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
| 367 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
| 368 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
| 369 | ); |
---|
| 370 | |
---|
| 371 | create table capacls |
---|
| 372 | ( |
---|
| 373 | capability VARCHAR(32) DEFAULT CHR(0) NOT NULL, |
---|
| 374 | tag VARCHAR(4) DEFAULT CHR(0) NOT NULL, |
---|
| 375 | list_id INTEGER DEFAULT 0 NOT NULL |
---|
| 376 | ); |
---|
| 377 | |
---|
| 378 | create table alias |
---|
| 379 | ( |
---|
| 380 | name VARCHAR(32) DEFAULT CHR(0) NOT NULL, |
---|
| 381 | type VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
| 382 | trans VARCHAR(128) DEFAULT CHR(0) NOT NULL |
---|
| 383 | ); |
---|
| 384 | |
---|
| 385 | create table numvalues |
---|
| 386 | ( |
---|
| 387 | name VARCHAR(32) DEFAULT CHR(0) NOT NULL, |
---|
| 388 | value INTEGER DEFAULT 0 NOT NULL |
---|
| 389 | ); |
---|
| 390 | |
---|
| 391 | create table tblstats |
---|
| 392 | ( |
---|
| 393 | table_name VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
| 394 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
| 395 | appends INTEGER DEFAULT 0 NOT NULL, |
---|
| 396 | updates INTEGER DEFAULT 0 NOT NULL, |
---|
| 397 | deletes INTEGER DEFAULT 0 NOT NULL |
---|
| 398 | ); |
---|
| 399 | |
---|
| 400 | create table incremental |
---|
| 401 | ( |
---|
| 402 | table_name VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
| 403 | service VARCHAR(16) DEFAULT CHR(0) NOT NULL |
---|
| 404 | ); |
---|
| 405 | |
---|
| 406 | create table containers |
---|
| 407 | ( |
---|
| 408 | name VARCHAR(64) DEFAULT CHR(0) NOT NULL, |
---|
| 409 | cnt_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 410 | list_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 411 | publicflg INTEGER DEFAULT 0 NOT NULL, |
---|
| 412 | description VARCHAR(255) DEFAULT CHR(0) NOT NULL, |
---|
| 413 | location VARCHAR(64) DEFAULT CHR(0) NOT NULL, |
---|
| 414 | contact VARCHAR(32) DEFAULT CHR(0) NOT NULL, |
---|
| 415 | acl_type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 416 | acl_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 417 | memacl_type VARCHAR(8) DEFAULT 'NONE' NOT NULL, |
---|
| 418 | memacl_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 419 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
| 420 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
| 421 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL |
---|
| 422 | ); |
---|
| 423 | |
---|
| 424 | create table mcntmap |
---|
| 425 | ( |
---|
| 426 | mach_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 427 | cnt_id INTEGER DEFAULT 0 NOT NULL |
---|
| 428 | ); |
---|
| 429 | |
---|
| 430 | create table accountnumbers |
---|
| 431 | ( |
---|
| 432 | account_number VARCHAR(10) DEFAULT CHR(0) NOT NULL |
---|
| 433 | ); |
---|
| 434 | |
---|
| 435 | create table userhistory |
---|
| 436 | ( |
---|
| 437 | login VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 438 | users_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 439 | unix_uid SMALLINT DEFAULT 0 NOT NULL, |
---|
| 440 | shell VARCHAR(32) DEFAULT CHR(0) NOT NULL, |
---|
| 441 | winconsoleshell VARCHAR(32) DEFAULT 'cmd' NOT NULL, |
---|
| 442 | last VARCHAR(30) DEFAULT CHR(0) NOT NULL, |
---|
| 443 | first VARCHAR(30) DEFAULT CHR(0) NOT NULL, |
---|
| 444 | middle VARCHAR(30) DEFAULT CHR(0) NOT NULL, |
---|
| 445 | status SMALLINT DEFAULT 0 NOT NULL, |
---|
| 446 | clearid VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
| 447 | type VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 448 | comments INTEGER DEFAULT 0 NOT NULL, |
---|
| 449 | modtime DATE DEFAULT SYSDATE NOT NULL, |
---|
| 450 | modby INTEGER DEFAULT 0 NOT NULL, |
---|
| 451 | modwith VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 452 | fullname VARCHAR(92) DEFAULT CHR(0) NOT NULL, |
---|
| 453 | nickname VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
| 454 | home_addr VARCHAR(82) DEFAULT CHR(0) NOT NULL, |
---|
| 455 | home_phone VARCHAR(24) DEFAULT CHR(0) NOT NULL, |
---|
| 456 | office_addr VARCHAR(16) DEFAULT CHR(0) NOT NULL, |
---|
| 457 | office_phone VARCHAR(24) DEFAULT CHR(0) NOT NULL, |
---|
| 458 | department VARCHAR(50) DEFAULT CHR(0) NOT NULL, |
---|
| 459 | affiliation VARCHAR(50) DEFAULT CHR(0) NOT NULL, |
---|
| 460 | fmodtime DATE DEFAULT SYSDATE NOT NULL, |
---|
| 461 | fmodby INTEGER DEFAULT 0 NOT NULL, |
---|
| 462 | fmodwith VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 463 | potype VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 464 | pop_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 465 | imap_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 466 | box_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 467 | pmodtime DATE DEFAULT SYSDATE NOT NULL, |
---|
| 468 | pmodby INTEGER DEFAULT 0 NOT NULL, |
---|
| 469 | pmodwith VARCHAR(8) DEFAULT CHR(0) NOT NULL, |
---|
| 470 | xname VARCHAR(30) DEFAULT CHR(0) NOT NULL, |
---|
| 471 | xdept VARCHAR(50) DEFAULT CHR(0) NOT NULL, |
---|
| 472 | xtitle VARCHAR(50) DEFAULT CHR(0) NOT NULL, |
---|
| 473 | xaddress VARCHAR(82) DEFAULT CHR(0) NOT NULL, |
---|
| 474 | xphone1 VARCHAR(24) DEFAULT CHR(0) NOT NULL, |
---|
| 475 | xphone2 VARCHAR(24) DEFAULT CHR(0) NOT NULL, |
---|
| 476 | xmodtime DATE DEFAULT SYSDATE NOT NULL, |
---|
| 477 | sigdate INTEGER DEFAULT 0 NOT NULL, |
---|
| 478 | sigwho INTEGER DEFAULT 0 NOT NULL, |
---|
| 479 | signature VARCHAR(68) DEFAULT CHR(0) NOT NULL, |
---|
| 480 | secure INTEGER DEFAULT 0 NOT NULL, |
---|
| 481 | pin VARCHAR(10) DEFAULT CHR(0) NOT NULL, |
---|
| 482 | reservations VARCHAR(10) DEFAULT CHR(0) NOT NULL, |
---|
| 483 | flag INTEGER DEFAULT 0 NOT NULL, |
---|
| 484 | created DATE DEFAULT SYSDATE NOT NULL, |
---|
| 485 | creator INTEGER DEFAULT 0 NOT NULL, |
---|
| 486 | winhomedir VARCHAR(260) DEFAULT '[DFS]' NOT NULL, |
---|
| 487 | winprofiledir VARCHAR(260) DEFAULT '[DFS]' NOT NULL, |
---|
| 488 | purged DATE DEFAULT SYSDATE NOT NULL |
---|
| 489 | ); |
---|
[25198] | 490 | |
---|
| 491 | create table hwaddrmap |
---|
| 492 | ( |
---|
| 493 | mach_id INTEGER DEFAULT 0 NOT NULL, |
---|
| 494 | hwaddr VARCHAR(12) DEFAULT CHR(0) NOT NULL |
---|
| 495 | ); |
---|