• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 802
  • Last Modified:

ldapsearch for multivalued attributed

Hi Experts,

I'd like to use ldapsearch command to find ALL entries in Sun LDAP which have some attribute, say hobbie, set more than once. Example:

uid=jsmith,dc=example,dc=com
hobbie: music
hobbie: books

Thanks!
0
chernomor
Asked:
chernomor
1 Solution
 
yuzhCommented:
Please have a look at the example in the following doc:
http://docs.sun.com/app/docs/doc/820-2765/6nebir7n7?a=view
please pay attention to " Searching Multi-Valued Attributes" part.
0
 
jwillekeCommented:
AFAIK, this cannot be done in LDAPSEARCH.

We created a tool to do this that you are able to use:
http://ldapwiki.willeke.com/wiki/DuplicateAttributeValueLocaterTool

-jim
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now