Difference between revisions of "Talk:OCS Inventory Tools"

From SME Server
Jump to navigationJump to search
(Removing all install.php - see what will be fixed in next RPM)
Line 27: Line 27:
 
  If you encounter any problem with files insertion, try setting the global max_allowed_packet mysql value to at least 2M in your server config file.
 
  If you encounter any problem with files insertion, try setting the global max_allowed_packet mysql value to at least 2M in your server config file.
 
How to set this value for ocs only?
 
How to set this value for ocs only?
 
=> install.php is needed, as you now know. But the file can be renamed or secured when not needed ;-)
 
 
----
 
----
I didn't use this screenshot finally... Can you delete it? (I cant')
+
I didn't use this screenshot finally... Can you delete it? (I don't have the right to do that)
[[Image:OCS-installphp-warning.png]]<br>
+
Image:OCS-installphp-warning.png
 
----
 
----
 
 
=future RPM=
 
=future RPM=
 
What will be fixed in next RPM release...
 
What will be fixed in next RPM release...
 
 
==MaxUpload==
 
==MaxUpload==
 
Default value will raise to 100M (OpenOffice ready)
 
Default value will raise to 100M (OpenOffice ready)
 
 
==secure install.php==
 
==secure install.php==
What is the best way to secure this file?
+
To secure access to install.php, WE MUST SECURE '''''www/ocs/dbconfig.php'''''!!!
Move it?
 
Rename it?
 
chmod 400?
 
If this file is secured, we need to document that in the article.
 
 
 
sg
 
----
 
 
 
If we abandon the '''MySQL importation''' method we can delete it
 
 
 
Admins will have USB keys, they have space for the C:\ocs-ng\ files and can use the '''manual method'''
 
 
 
this also simplifies the wiki a lot and negates the need to split it up
 
 
 
sn
 
----
 
  
 +
If this file is not readable by the server, user+password can't be read!
  
 +
If it's not writable, then password can't be updated!
  
 +
Need to modify the existing template-metadata for this file:
 +
UID="root"
 +
GID="root"
 +
PERMS=0400
 +
Go to www/ocs/install.php: all fields are blank! ;-)
 
==dependencies==
 
==dependencies==
 
 
just supply the .tar.gz
 
just supply the .tar.gz
  
 
add all the dependacies in smeserver-inventory-tools to make sure the user has installed them
 
add all the dependacies in smeserver-inventory-tools to make sure the user has installed them
 
 
 
=wiki page=
 
=wiki page=
 
 
==split page==
 
==split page==
 
I'd like to move somethings to a sub page and just show the most likely options
 
I'd like to move somethings to a sub page and just show the most likely options

Revision as of 17:25, 10 November 2007

known bugs

There are still some bugs in this RPM... Help us to fix them!

ipdiscover bug

ipdiscover and SME

IpDiscover is not working on SME. We know that. Please use a different client to ipdiscover your networks.

I've opened a thread on OCS forum.

ipdiscover-util.pl

This script used by the web interface do not seem to work too.

First thing to do is to change the password in this file...

...
my $dbhost = 'localhost';
my $dbuser = 'ocs';
my $dbpwd = 'ocs';
my $db = 'ocsweb';
my $dbp = '3306';

The password should be dynamical as this is a perl script. We need to use esmith::ConfigDB or something else to retrieve this value... I was unable to handle that.

Also a problem, the script cannot be executed. I try to add script handler for .pl but it didn't worked...

www/ocs/install.php bugs

New doc, enjoy!

=> Do we really need an admin account? Why can't we use ocs' one?

If you encounter any problem with files insertion, try setting the global max_allowed_packet mysql value to at least 2M in your server config file.

How to set this value for ocs only?


I didn't use this screenshot finally... Can you delete it? (I don't have the right to do that)

Image:OCS-installphp-warning.png

future RPM

What will be fixed in next RPM release...

MaxUpload

Default value will raise to 100M (OpenOffice ready)

secure install.php

To secure access to install.php, WE MUST SECURE www/ocs/dbconfig.php!!!

If this file is not readable by the server, user+password can't be read!

If it's not writable, then password can't be updated!

Need to modify the existing template-metadata for this file:

UID="root"
GID="root"
PERMS=0400

Go to www/ocs/install.php: all fields are blank! ;-)

dependencies

just supply the .tar.gz

add all the dependacies in smeserver-inventory-tools to make sure the user has installed them

wiki page

split page

I'd like to move somethings to a sub page and just show the most likely options

4.2.2 ocsagent.exe

4.2.3 OcsLogon.exe

in time, 3.3.1 Old RPMs version

5.2.1 Modifying default behaviour

Ok, let's do this!

5.3.2 Deployment menu

there must be a lot of ways this could be used, why make everyone think of them themselves when it could be spelled out

this could be a new page, Application deployment

this could include other ways to deploy, eg using netlogon.bat

others can work on this cool34000 has done enough Stefen


In fact, that's the way I always used OCS... I don't like to install a service when it's not needed...

It is so fast to use against the need of installing the Agent: put OcsLogon.exe in a share folder and simply launch it with a one command line batch script each time a session is opened.

@echo off
\\server\share\mydomain.com.exe /np /debug /tag:my_tag

That's all!

Of course, more can be done...

  • Install the Agent silently in a script
  • Use GPOs (deploy, install, update)
  • ...Read the guide!

Didn't document that... Do we really need to? The command line is really simple, then it's the end-user's job to adapt it to his network and needs.

glpi

someone who uses this may like to add some more information on how to use it, some link to more docs at least