COmanage Perl Module

The COmanage Perl module is still under development.  The following is a draft of the features and functions it will provide.

Name

COmanage

Synopsis

use COmanage; 

# Request read-only ldap access, a MySQL database and no system users.

$app = COmanage::RequestApp ( "myapp", { ldap => 'read', mysql => 'true', system => 'none' } ); 

# Get my LDAP information
$ldapdn = $app->ldap_dn;
$ldappw = $app->ldap_pw;
$ldapbase = $app->ldap_base;
$ldapserver = $app->ldap_server;
$ldapport = $app->ldap_port;
$ldaptls = $app->ldap_tls;             // See if this server requires TLS 

# Get my MySQL information
$mysqluser = $app->mysql_user;
$mysqlpw = $app->mysql_pw;
$mysqlserver = $app->mysql_server;
$mysqlport = $app->mysql_port;
$mysqldb = $app-mysql_dbname;
  • No labels