Bug 35244 - LDAP Sampler: Multiple values for single attribute not possible
Summary: LDAP Sampler: Multiple values for single attribute not possible
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.0.3
Hardware: All Windows XP
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-06 19:29 UTC by Andreas Oetjen
Modified: 2006-02-09 14:23 UTC (History)
0 users



Attachments
Changed from using BasicAttributes interface to Attributes interface. (3.75 KB, patch)
2006-02-09 15:55 UTC, MLowings
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Oetjen 2005-06-06 19:29:08 UTC
When creating a new entry the LDAP sampler ("add test"), it is not possible to 
specify more than one value for an attribute in the table. 

Example: I want to create a new group "G" and assign two users "A" and "B" to 
this group. Therefore, I enter in the attributes table:

"name" -> "G"
"objectClass" -> "group"
"member" -> "cn=A,ou=Users,dc=domain,dc=net"
"member" -> "cn=B,ou=Users,dc=domain,dc=net"

As you can see, I somehow need to specify two values for the member attribute, 
which should be no problem in LDAP. But JMeter seems to overwrite the first 
"member" attribute, so the new Group "G" has only "B" as a member.

Or is there another syntax to specify more than one value?
Comment 1 MLowings 2006-02-09 15:55:46 UTC
Created attachment 17627 [details]
Changed from using BasicAttributes interface to Attributes interface.

Changed from using BasicAttributes interface to Attributes interface for an
LDAP CreateSubContext (add) operation
Comment 2 Sebb 2006-02-09 23:23:59 UTC
Thanks - patch applied to 2.1 branch
Comment 3 The ASF infrastructure team 2022-09-24 20:37:35 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1557