/[smecontribs]/rpms/ocsinventory/contribs7/ocsinventory-r1413.patch
ViewVC logotype

Contents of /rpms/ocsinventory/contribs7/ocsinventory-r1413.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Mar 18 14:37:45 2009 UTC (15 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: ocsinventory-1_02_1-1_el4_sme, ocsinventory-1_02-0_10_rc3_el4_sme_2, HEAD
* Wed Mar 13 2009 Daniel B. <daniel@firewall-services.com> 1.02-0.10.rc3.el4.2
- Changes for SME Server (apache=>www)

1 --- trunk/server/ocsreports/files/ocsbase.sql 2008/09/26 13:07:51 1390
2 +++ trunk/server/ocsreports/files/ocsbase.sql 2008/10/11 15:31:04 1413
3 @@ -699,6 +699,11 @@
4 ALTER TABLE subnet ADD INDEX ID(ID);
5 ALTER TABLE hardware CHANGE QUALITY QUALITY DECIMAL(7,4) default NULL;
6
7 +ALTER TABLE groups change REVALIDATE_FROM REVALIDATE_FROM INT default 0;
8 +ALTER TABLE groups change CREATE_TIME CREATE_TIME INT default 0;
9 +UPDATE groups SET CREATE_TIME=0 WHERE CREATE_TIME IS NULL;
10 +UPDATE groups SET REVALIDATE_FROM=0 WHERE REVALIDATE_FROM IS NULL;
11 +
12 DELETE FROM config WHERE name='GUI_VERSION';
13 DELETE FROM config WHERE name='IP_MIN_QUALITY';
14
15 @@ -723,9 +728,13 @@
16 INSERT INTO config VALUES ('DOWNLOAD_TIMEOUT', 30, '', 'Validity of a package (in days)');
17 INSERT INTO config VALUES ('LOCAL_SERVER', 0, 'localhost', 'Server address used for local import');
18 INSERT INTO config VALUES ('LOCAL_PORT', 80, '', 'Server port used for local import');
19 +INSERT INTO config VALUES ('DOWNLOAD_PACK_DIR','','/var/lib/ocsinventory-reports','Directory for download files');
20 +INSERT INTO config VALUES ('IPDISCOVER_IPD_DIR','','/var/lib/ocsinventory-reports','Directory for Ipdiscover files');
21 +
22 INSERT INTO blacklist_serials(SERIAL) VALUES ('N/A'),('(null string)'),('INVALID'),('SYS-1234567890'),('SYS-9876543210'),('SN-12345'),('SN-1234567890'),('1111111111'),('1111111'),('1'),('0123456789'),('12345'),('123456'),('1234567'),('12345678'),('123456789'),('1234567890'),('123456789000'),('12345678901234567'),('0000000000'),('000000000'),('00000000'),('0000000'),('000000'),('NNNNNNN'),('xxxxxxxxxxx'),('EVAL'),('IATPASS'),('none'),('To Be Filled By O.E.M.'),('Tulip Computers'),('Serial Number xxxxxx'),('SN-123456fvgv3i0b8o5n6n7k'),('');
23 INSERT INTO blacklist_macaddresses(MACADDRESS) VALUES ('00:00:00:00:00:00'),('FF:FF:FF:FF:FF:FF'),('44:45:53:54:00:00'),('44:45:53:54:00:01'),('00:01:02:7D:9B:1C'),('00:08:A1:46:06:35'),('00:08:A1:66:E2:1A'),('00:09:DD:10:37:68'),('00:0F:EA:9A:E2:F0'),('00:10:5A:72:71:F3'),('00:11:11:85:08:8B'),('10:11:11:11:11:11'),('44:45:53:54:61:6F'),('');
24
25 +
26 INSERT INTO operators VALUES ('admin','admin','admin','admin',1, 'Default administrator account');
27
28 GRANT ALL PRIVILEGES ON ocsweb.* TO ocs IDENTIFIED BY 'ocs';

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed