Hi Developer-Comunity,

I'm using a Customer LDAP Backend to search for (internal) Customers. 

In our Identity-Management-System (Novell eDirectory) eachCustomer-Account is 
member of several groups (Attribute: GroupMembership). So, the Attribute 
"GroupMembership" is a Multivalued Attribute.

I map this attribute via Config.pm 
...
$Self->{CustomerUser} = {
Name => 'LDAP Backend',
Module => 'Kernel::System::CustomerUser::LDAP',
...
Map => [
# note: Login, Email and CustomerID needed!
# var, frontend, storage, shown (1=always,2=lite), required, storage-type, 
http-link, readonly
# [ 'UserTitle',      'Title',      'title',           1, 0, 'var', '', 0 ],
 [ 'UserFirstname',  'Firstname',  'GivenName',       1, 1, 'var', '', 0 ],
 [ 'UserLastname',    'Lastname',    'sn',     1, 0, 'var', '', 0 ],
[ 'UserLogin',      'Username',   'uid',             1, 1, 'var', '', 0 ],
[ 'UserEmail',      'Email',      'mail',            1, 1, 'var', '', 0 ],
[ 'UserCustomerID', 'CustomerID', 'mail',            0, 1, 'var', '', 0 ],
[ 'UserComment', 'Comment', 'groupMembership', 1, 0, 'var', '', 0 ],
],
};

With 
['UserComment', 'Comment', 'groupMembership', ...],
I only can map the first value of the Multivalued Atribute "GroupMembership".

How could I fetch the other values?

According to a certain value of this attribut 
(e.g.: Customer is member of the LDAP-group "VIP-Support",
GroupMembership: cn=VIP-Suport, o=Company, c=de)
I would display this membership as follows:
Search Result
Username - Firstname Lastname - VIP-Support

In addition, if clicking e.g. the link "Username", there should happen a 
certain action.

Any ideas, how I can fetch all values of an LDAP-Multivalue attribute and work 
with a certain value?

Thanks in advance.

Jo


_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Reply via email to