stepping-stone / vm-manager

The stoney cloud web interface.
http://www.stoney-cloud.org/
Other
0 stars 0 forks source link

LDAP Attribute type for multi-value attribute changes depending on number of entries #74

Closed dev-zero closed 9 years ago

dev-zero commented 9 years ago

If a multi-valued LDAP attribute contains 0 entries, the type is NULL. In case of only one entry, the type corresponds to the schema. If there are 2 or more entries present, the type is array(schema-defined-type).

It should always be an array instead (in case of 0 entries an empty array), as it is assumed to be in a number of places in the code.

Examples: