None
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 \s-1LDAP\s0 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)',
},
},
}; Hold the storage node structural data.
At the first level it has a scope. The scope \*(L"debian\*(R" 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.