Index: [Article Count Order] [Thread]

Date:  Sun, 24 Aug 2008 19:17:27 +0200
From:  Michael Stauber <bq (at mark) solarspeed.net>
Subject:  [coba-e:13788] Re: [testing] 5100R-2.0 release
To:  coba-e (at mark) bluequartz.org
Message-Id:  <200808241917.28112.bq (at mark) solarspeed.net>
In-Reply-To:  <846a2d7c0808240507j336f47d7td80d4feed436573c (at mark) mail.gmail.com>
References:  <438522.30375.qm (at mark) web65615.mail.ac4.yahoo.com> <F8E64785-F2F9-4462-A2D3-312D373C9145 (at mark) alpha.or.jp> <846a2d7c0808240507j336f47d7td80d4feed436573c (at mark) mail.gmail.com>
X-Mail-Count: 13788

Hi Frank,

> Am I right to say the cracklib stuff is in sausalito-i18n? If so, why in
> here?

I'll answer that as I implemented it.

Sausalito's i18n is the interface between the PHP pages served by Apache 
AdmServ and CCE. It provides extra PHP functions and libraries which the GUI 
pages of the admin interface use. This deals with both style and appearance 
of pages, but more crucially also with the communication between the PHP 
pages and underlying handlers, constructors and the CODB database.

This also means that Sausalito's i18n must be compiled against the specific 
PHP version that is present on the server. Otherwise the entire GUI won't 
work.

So it's the only BlueQuartz module that is 100% dependent on the version of 
PHP that's installed on the system. Means: If you "replace" or upgrade the 
onboard PHP, then i18n will fail as it was compiled against a different 
version of PHP.

The "secure password" functionality is split into two parts. One half of it is 
implemented through API calls from within PHP pages that deal with adding or 
modifying users. All these API calls require the PHP PECL module "cracklib". 
See: http://pecl.php.net/package/crack

This PECL module must be compiled into PHP. Or it must be provided as a 
loadable module - in a similar fashion as the i18n PHP module is loaded into 
AdmServ.

It wouldn't have made sense to make Cracklib a separate module, as the GUI 
pages that provide the "secure password" functionality are not optional and 
require Cracklib to be present.

Hence it was only natural to extend the i18n module to also compile and 
install the "Cracklib" module. Because that way everything that depends on a 
specific PHP version is rolled into a single module. 

> Also, what is base-phpinfo for?

See http://phpsysinfo.sourceforge.net/

It's a set of PHP pages that report status information about the OS and the 
hardware of the server and it's now built in into the BlueQuartz GUI. 

I initially did the integration of phpsysinfo for another BlueQuartz based 
appliance and then decided to commit it to the BlueQuartz code tree as well.

-- 
With best regards,

Michael Stauber