Rechercher une page de manuel
cipux-storage.perl.3pm
Langue: en
Version: 2009-05-19 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
cipux-storage.perl
The CipUX storage layer comes with two configuration files. One for configuring basic values. This called typically cipux-storage.perl. The other holds the access data for the storage backend. Mostly called cipux-access.perl. This document describes cipux-storage.perl.Example:
$cfg = {
'structure' => {
'cipux_ldap_orga_node' => {
desc => 'access all CipUX LDAP orga nodes',
struc_rdn => '',
dn_attr => 'ou',
filter => '&(ou=?)(objectClass=cipuxLdapOrgaNode)',
},
'cipux_account.user' => {
desc => 'access all CipUX user account user nodes',
struc_rdn => 'ou=User',
dn_attr => 'uid',
filter => '&(uid=?)(objectClass=cipuxAccount)(cipuxIsAccount=TRUE)',
},
},
};
$cfg
Hold the storage node structural data.At the first level it has a scope. The scope ``debian'' is used for the default storage structure.
On the next level the single data nodes are defined.
desc
Some short description about the node and its data.
struc_rdn
Organizational node under which the data is stored.
struc_rdn + ou=CipUX + LDAP suffix.
Example:
ou=Task,ou=CipUX,dc=nodomain will gives us ou=Task as struc_rdn struc_rdn => 'ou=Task',
dn_attr
The first attribute of the dn line. This should correspond to the filter section.
filter
This filter will be applied to get the data.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre