Question

I am using ApacheDS as an LDAP Server. When you define attributes there are different types. For example, String or boolean. Is there a way to specify a List. So a List of Mobile?

If not, how can this be done. I am aware there is an ObjectClass called groupOfUnquieNames. But the problem is that I have multiple List. So for example, List of Mobile and List of Address.

How can this be done?

Was it helpful?

Solution

There is no list type, but attributes default to being multi-valued - mobile for example is multi-valued:

dn: uid=user,dc=example,dc=com
objectClass: top
objectClass: inetOrgPerson
...
mobile: 000-000-0000
mobile: 111-111-1111

In other words user user has two mobile numbers. Both would be returned in a search request.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top