File: database.txt

package info (click to toggle)
irm 1.0.3-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 816 kB
  • ctags: 753
  • sloc: php: 3,440; sh: 346; makefile: 40
file content (521 lines) | stat: -rw-r--r-- 14,744 bytes parent folder | download
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
# MySQL dump 6.4
#
# Host: localhost    Database: irm
#--------------------------------------------------------
# Server version	3.22.27

#
# Table structure for table 'comp_group'
#
CREATE TABLE comp_group (
  comp_id int(11) DEFAULT '0' NOT NULL,
  group_id int(11) DEFAULT '0' NOT NULL,
  KEY lab_id (group_id)
);

#
# Dumping data for table 'comp_group'
#

INSERT INTO comp_group VALUES (1,1);

#
# Table structure for table 'computers'
#
CREATE TABLE computers (
  ID int(11) DEFAULT '0' NOT NULL auto_increment,
  name varchar(200),
  type varchar(100),
  flags_server tinyint(4) DEFAULT '0' NOT NULL,
  os varchar(100),
  osver varchar(20),
  processor varchar(30),
  processor_speed varchar(30),
  location varchar(200) DEFAULT '' NOT NULL,
  serial varchar(200) DEFAULT '' NOT NULL,
  otherserial varchar(200) DEFAULT '' NOT NULL,
  ramtype varchar(200) DEFAULT '' NOT NULL,
  ram varchar(6) DEFAULT '' NOT NULL,
  network varchar(200) DEFAULT '' NOT NULL,
  ip varchar(20),
  mac varchar(30),
  hdspace varchar(6),
  contact varchar(90),
  contact_num varchar(90),
  comments text NOT NULL,
  date_mod datetime,
  PRIMARY KEY (ID),
  KEY location (location),
  KEY flags (flags_server)
);

#
# Dumping data for table 'computers'
#

INSERT INTO computers VALUES (1,'Ants','iMac DV',0,'Mac OS','9.0.4','PowerPC G3','400','Library Back Room','','','SDRAM DIMMs (<10ns)','192','Generic 100Mbps Card','DHCP','00 50 E4','13','','','','2000-05-03 17:50:08');

#
# Table structure for table 'dropdown_iface'
#
CREATE TABLE dropdown_iface (
  name char(30)
);

#
# Dumping data for table 'dropdown_iface'
#

INSERT INTO dropdown_iface VALUES ('10Mbps Ethernet (UTP)');
INSERT INTO dropdown_iface VALUES ('100Mbps Ethernet (UTP)');
INSERT INTO dropdown_iface VALUES ('100Base FL');
INSERT INTO dropdown_iface VALUES ('100Mbps FDDI');
INSERT INTO dropdown_iface VALUES ('Frame Relay');
INSERT INTO dropdown_iface VALUES ('ISDN');
INSERT INTO dropdown_iface VALUES ('T1/E1 +');
INSERT INTO dropdown_iface VALUES ('Serial Link');

#
# Table structure for table 'dropdown_locations'
#
CREATE TABLE dropdown_locations (
  name char(200)
);

#
# Dumping data for table 'dropdown_locations'
#

INSERT INTO dropdown_locations VALUES ('Library Back Room');
INSERT INTO dropdown_locations VALUES ('Room 34');
INSERT INTO dropdown_locations VALUES ('MAOS Lab');
INSERT INTO dropdown_locations VALUES ('Office');

#
# Table structure for table 'dropdown_network'
#
CREATE TABLE dropdown_network (
  name char(200)
);

#
# Dumping data for table 'dropdown_network'
#

INSERT INTO dropdown_network VALUES ('3Com (100Mbps)');
INSERT INTO dropdown_network VALUES ('3Com (10Mbps)');
INSERT INTO dropdown_network VALUES ('Intel (100Mbps)');
INSERT INTO dropdown_network VALUES ('Intel (10Mbps)');
INSERT INTO dropdown_network VALUES ('Generic 100Mbps Card');
INSERT INTO dropdown_network VALUES ('Generic 10Mbps Card');
INSERT INTO dropdown_network VALUES ('None');
INSERT INTO dropdown_network VALUES ('AMD 10Mbps');
INSERT INTO dropdown_network VALUES ('Realtek 10Mbps');
INSERT INTO dropdown_network VALUES ('Realtek 100Mbps');

#
# Table structure for table 'dropdown_os'
#
CREATE TABLE dropdown_os (
  name char(100)
);

#
# Dumping data for table 'dropdown_os'
#

INSERT INTO dropdown_os VALUES ('Linux (Debian)');
INSERT INTO dropdown_os VALUES ('Linux (RedHat)');
INSERT INTO dropdown_os VALUES ('Linux (Caldera)');
INSERT INTO dropdown_os VALUES ('DOS');
INSERT INTO dropdown_os VALUES ('FreeBSD');
INSERT INTO dropdown_os VALUES ('Linux (Other)');
INSERT INTO dropdown_os VALUES ('Windows');
INSERT INTO dropdown_os VALUES ('Other');
INSERT INTO dropdown_os VALUES ('Mac OS');
INSERT INTO dropdown_os VALUES ('IRIX');
INSERT INTO dropdown_os VALUES ('Solaris');
INSERT INTO dropdown_os VALUES ('Max OS X');

#
# Table structure for table 'dropdown_processor'
#
CREATE TABLE dropdown_processor (
  name varchar(30)
);

#
# Dumping data for table 'dropdown_processor'
#

INSERT INTO dropdown_processor VALUES ('Intel Pentium');
INSERT INTO dropdown_processor VALUES ('Intel Pentium II');
INSERT INTO dropdown_processor VALUES ('AMD K6-1');
INSERT INTO dropdown_processor VALUES ('AMD K6-2');
INSERT INTO dropdown_processor VALUES ('AMD K6-3');
INSERT INTO dropdown_processor VALUES ('PowerPC G3');
INSERT INTO dropdown_processor VALUES ('Intel Pentium III');
INSERT INTO dropdown_processor VALUES ('AMD Athlon');
INSERT INTO dropdown_processor VALUES ('68k (Motorola)');
INSERT INTO dropdown_processor VALUES ('486 SX');
INSERT INTO dropdown_processor VALUES ('486 DX');
INSERT INTO dropdown_processor VALUES ('486 DX2/4');
INSERT INTO dropdown_processor VALUES ('Intel Itanium');
INSERT INTO dropdown_processor VALUES ('PowerPC G4');
INSERT INTO dropdown_processor VALUES ('RS3000');
INSERT INTO dropdown_processor VALUES ('RS10k');
INSERT INTO dropdown_processor VALUES ('Alpha EV6.7');
INSERT INTO dropdown_processor VALUES ('PowerPC 603ev');
INSERT INTO dropdown_processor VALUES ('PowerPC 603');
INSERT INTO dropdown_processor VALUES ('PowerPC 601');
INSERT INTO dropdown_processor VALUES ('68040');
INSERT INTO dropdown_processor VALUES ('68040');

#
# Table structure for table 'dropdown_ram'
#
CREATE TABLE dropdown_ram (
  name char(200)
);

#
# Dumping data for table 'dropdown_ram'
#

INSERT INTO dropdown_ram VALUES ('36pin SIMMS');
INSERT INTO dropdown_ram VALUES ('72pin SIMMS (Fast Page)');
INSERT INTO dropdown_ram VALUES ('72pin SIMMS (EDO)');
INSERT INTO dropdown_ram VALUES ('Unbuffered DIMMs');
INSERT INTO dropdown_ram VALUES ('DIMMs w/EEPROM');
INSERT INTO dropdown_ram VALUES ('SDRAM DIMMs (<10ns)');
INSERT INTO dropdown_ram VALUES ('ECC DIMMs');
INSERT INTO dropdown_ram VALUES ('Other');
INSERT INTO dropdown_ram VALUES ('iMac DIMMS');

#
# Table structure for table 'dropdown_type'
#
CREATE TABLE dropdown_type (
  name char(200)
);

#
# Dumping data for table 'dropdown_type'
#

INSERT INTO dropdown_type VALUES ('Generic PC');
INSERT INTO dropdown_type VALUES ('Macintosh PPC (other)');
INSERT INTO dropdown_type VALUES ('Macintosh 68K (68030)');
INSERT INTO dropdown_type VALUES ('Macintosh 68K (68040)');
INSERT INTO dropdown_type VALUES ('Other');
INSERT INTO dropdown_type VALUES ('IBM RS/6000');
INSERT INTO dropdown_type VALUES ('Indy');
INSERT INTO dropdown_type VALUES ('Octane');
INSERT INTO dropdown_type VALUES ('O2');
INSERT INTO dropdown_type VALUES ('Onyx 2');
INSERT INTO dropdown_type VALUES ('iMac');
INSERT INTO dropdown_type VALUES ('iMac DV');
INSERT INTO dropdown_type VALUES ('Blue and White G3');
INSERT INTO dropdown_type VALUES ('G4');
INSERT INTO dropdown_type VALUES ('Homebrew');
INSERT INTO dropdown_type VALUES ('Cisco Catalyst 2900 XL');
INSERT INTO dropdown_type VALUES ('Cisco 2600');
INSERT INTO dropdown_type VALUES ('3Com AccessBuilder');
INSERT INTO dropdown_type VALUES ('3Com LinkBuilder Hub');
INSERT INTO dropdown_type VALUES ('Cisco 400-series Fast Hub');

#
# Table structure for table 'event_log'
#
CREATE TABLE event_log (
  ID int(11) DEFAULT '0' NOT NULL auto_increment,
  item int(11) DEFAULT '0' NOT NULL,
  itemtype varchar(10) DEFAULT '' NOT NULL,
  date datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
  service varchar(20),
  level tinyint(4) DEFAULT '0' NOT NULL,
  message text NOT NULL,
  PRIMARY KEY (ID),
  KEY comp (item),
  KEY date (date)
);

#
# Dumping data for table 'event_log'
#


#
# Table structure for table 'followups'
#
CREATE TABLE followups (
  ID int(11) DEFAULT '0' NOT NULL auto_increment,
  tracking int(11),
  date datetime,
  author varchar(200),
  contents text,
  PRIMARY KEY (ID)
);

#
# Dumping data for table 'followups'
#


#
# Table structure for table 'groups'
#
CREATE TABLE groups (
  ID int(11) DEFAULT '0' NOT NULL auto_increment,
  name varchar(200) DEFAULT '' NOT NULL,
  PRIMARY KEY (ID),
  KEY ID (ID),
  UNIQUE ID_2 (ID)
);

#
# Dumping data for table 'groups'
#

INSERT INTO groups VALUES (1,'test');

#
# Table structure for table 'inst_software'
#
CREATE TABLE inst_software (
  ID int(11) DEFAULT '0' NOT NULL auto_increment,
  cID int(11) DEFAULT '0' NOT NULL,
  sID int(11) DEFAULT '0' NOT NULL,
  PRIMARY KEY (ID),
  KEY cID (cID),
  KEY sID (sID)
);

#
# Dumping data for table 'inst_software'
#


#
# Table structure for table 'networking'
#
CREATE TABLE networking (
  ID int(11) DEFAULT '0' NOT NULL auto_increment,
  name varchar(30) DEFAULT '' NOT NULL,
  type varchar(30) DEFAULT '' NOT NULL,
  ram varchar(10),
  ip varchar(20) DEFAULT '' NOT NULL,
  mac varchar(30),
  location varchar(40) DEFAULT '' NOT NULL,
  serial varchar(50),
  otherserial varchar(50),
  contact varchar(30) DEFAULT '' NOT NULL,
  contact_num varchar(30) DEFAULT '' NOT NULL,
  datemod datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
  comments text NOT NULL,
  PRIMARY KEY (ID)
);

#
# Dumping data for table 'networking'
#


#
# Table structure for table 'networking_ports'
#
CREATE TABLE networking_ports (
  ID int(11) DEFAULT '0' NOT NULL auto_increment,
  device_on int(11) DEFAULT '0' NOT NULL,
  device_type tinyint(4) DEFAULT '0' NOT NULL,
  iface char(40) DEFAULT '' NOT NULL,
  ifaddr char(30) DEFAULT '' NOT NULL,
  ifmac char(30) DEFAULT '0' NOT NULL,
  logical_number int(11) DEFAULT '0' NOT NULL,
  name char(30) DEFAULT '' NOT NULL,
  PRIMARY KEY (ID)
);

#
# Dumping data for table 'networking_ports'
#

INSERT INTO networking_ports VALUES (1,1,1,'100Mbps Ethernet (UTP)','DHCP','00 50 E4',1,'Port 1');

#
# Table structure for table 'networking_wire'
#
CREATE TABLE networking_wire (
  ID int(11) DEFAULT '0' NOT NULL auto_increment,
  end1 int(11) DEFAULT '0' NOT NULL,
  end2 int(11) DEFAULT '0' NOT NULL,
  PRIMARY KEY (ID)
);

#
# Dumping data for table 'networking_wire'
#


#
# Table structure for table 'prefs'
#
CREATE TABLE prefs (
  user varchar(80) DEFAULT '' NOT NULL,
  type enum('no','yes') DEFAULT 'no' NOT NULL,
  os enum('no','yes') DEFAULT 'no' NOT NULL,
  osver enum('no','yes') DEFAULT 'no' NOT NULL,
  processor enum('no','yes') DEFAULT 'no' NOT NULL,
  processor_speed enum('no','yes') DEFAULT 'no' NOT NULL,
  location enum('no','yes') DEFAULT 'no' NOT NULL,
  serial enum('no','yes') DEFAULT 'no' NOT NULL,
  otherserial enum('no','yes') DEFAULT 'no' NOT NULL,
  ramtype enum('no','yes') DEFAULT 'no' NOT NULL,
  ram enum('no','yes') DEFAULT 'no' NOT NULL,
  network enum('no','yes') DEFAULT 'no' NOT NULL,
  ip enum('no','yes') DEFAULT 'no' NOT NULL,
  mac enum('no','yes') DEFAULT 'no' NOT NULL,
  hdspace enum('no','yes') DEFAULT 'no' NOT NULL,
  contact enum('no','yes') DEFAULT 'no' NOT NULL,
  contact_num enum('no','yes') DEFAULT 'no' NOT NULL,
  comments enum('no','yes') DEFAULT 'no' NOT NULL,
  date_mod enum('no','yes') DEFAULT 'no' NOT NULL,
  advanced_tracking enum('no','yes') DEFAULT 'no' NOT NULL,
  tracking_order enum('no','yes') DEFAULT 'no' NOT NULL,
  PRIMARY KEY (user)
);

#
# Dumping data for table 'prefs'
#

INSERT INTO prefs VALUES ('Admin','yes','','','','','','','','','','','','','','','','','','yes','');

#
# Table structure for table 'software'
#
CREATE TABLE software (
  ID int(11) DEFAULT '0' NOT NULL auto_increment,
  name varchar(200),
  platform varchar(200),
  version varchar(20),
  serial varchar(200),
  otherserial varchar(200),
  location varchar(200),
  license int(11),
  comments text,
  PRIMARY KEY (ID)
);

#
# Dumping data for table 'software'
#

INSERT INTO software VALUES (1,'Test Software','FreeBSD','1','313213213','21321321321','Library Back Room',30,'32132132132');
INSERT INTO software VALUES (2,'Word Processing Software','Mac OS','3.4','','','Library Back Room',50,'');
INSERT INTO software VALUES (3,'BlackWidowExplorer','DOS','33','','','Room 34',10,'');

#
# Table structure for table 'templ_inst_software'
#
CREATE TABLE templ_inst_software (
  ID int(11) DEFAULT '0' NOT NULL auto_increment,
  cID int(11) DEFAULT '0' NOT NULL,
  sID int(11) DEFAULT '0' NOT NULL,
  PRIMARY KEY (ID),
  KEY cID (cID),
  KEY sID (sID)
);

#
# Dumping data for table 'templ_inst_software'
#

INSERT INTO templ_inst_software VALUES (1,2,3);
INSERT INTO templ_inst_software VALUES (2,2,2);

#
# Table structure for table 'templates'
#
CREATE TABLE templates (
  ID int(11) DEFAULT '0' NOT NULL auto_increment,
  templname varchar(200),
  name varchar(200),
  type varchar(200),
  flags_server tinyint(4) DEFAULT '0' NOT NULL,
  os varchar(200),
  osver varchar(20),
  processor varchar(200),
  processor_speed varchar(100),
  location varchar(200),
  serial varchar(200),
  otherserial varchar(200),
  ramtype varchar(200),
  ram varchar(20),
  network varchar(200),
  ip varchar(20),
  mac varchar(40),
  hdspace varchar(10),
  contact varchar(200),
  contact_num varchar(200),
  comments text,
  iface varchar(100),
  PRIMARY KEY (ID)
);

#
# Dumping data for table 'templates'
#

INSERT INTO templates VALUES (1,'Blank Template','','Generic PC',0,'Windows','','Intel Pentium','','Library Back Room','','','72pin SIMMS (EDO)','','Generic 10Mbps Card','','','','','','',NULL);
INSERT INTO templates VALUES (2,'Mac G3 All-in-One','','Macintosh PPC (other)',1,'Mac OS','8.1','486 DX','266','MAOS Lab','','','SDRAM DIMMs (<10ns)','96','Generic 100Mbps Card','205.155.38','','3','','','','100Mbps Ethernet (UTP)');
INSERT INTO templates VALUES (3,'iMac','','iMac',0,'Mac OS','8.6','PowerPC G3','333','Library Back Room','','','iMac DIMMS','32','Generic 100Mbps Card','','00 50 E4','6','','','','100Mbps Ethernet (UTP)');
INSERT INTO templates VALUES (4,'iMac DV','','iMac DV',0,'Mac OS','9.0.4','PowerPC G3','400','Library Back Room','','','SDRAM DIMMs (<10ns)','64','Generic 100Mbps Card','','','13','','','','100Mbps Ethernet (UTP)');

#
# Table structure for table 'tracking'
#
CREATE TABLE tracking (
  ID int(11) DEFAULT '0' NOT NULL auto_increment,
  date datetime,
  closedate datetime,
  status enum('new','old'),
  author varchar(200),
  assign varchar(200),
  computer int(11),
  contents text,
  priority tinyint(4) DEFAULT '1' NOT NULL,
  is_group enum('no','yes') DEFAULT 'no' NOT NULL,
  uemail varchar(100),
  emailupdates varchar(4),
  PRIMARY KEY (ID)
);

#
# Dumping data for table 'tracking'
#


#
# Table structure for table 'users'
#
CREATE TABLE users (
  name varchar(80) DEFAULT '' NOT NULL,
  password varchar(80),
  email varchar(80),
  location varchar(100),
  phone varchar(100),
  type enum('normal','admin','post-only') DEFAULT 'normal' NOT NULL,
  comments text,
  PRIMARY KEY (name),
  KEY type (type)
);

#
# Dumping data for table 'users'
#

INSERT INTO users VALUES ('Admin','admin','root@localhost','Admin Place (in front of the computer)','Use e-mail','admin','');
INSERT INTO users VALUES ('Guest','','','','','post-only','');
INSERT INTO users VALUES ('Normal User','normal','user@localhost','','','normal','');