---
name: "cipux-storage.perl"
section: "3pm"
platform: "linux"
package: "libcipux-storage-perl"
version: "3.4.0.2-6.1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/cipux-storage.perl"
---

# cipux-storage.perl(3pm)

## 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.
