File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes LDAP Search Filter in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "LDAP Search Filter in java" Watch "LDAP Search Filter in java" New topic

LDAP Search Filter in java

kamabotti khan

Joined: Jul 13, 2010
Posts: 22

I want to reterive a attribute name unique member whose value is only numeric

I am using LDAP search filter to reterive it

In the above code I get the all groups whose name is xyz which has an attribute uniqueMember but I want only those groups which has uniqueMember attribute whose value is only numeric

For ex in ldap structure I have like this

Attribute Name Value
1.uniqueMember uid=18761,ou=people,o=xxx,c=US
2.uniqueMember uid=gsa,ou=people,o=xxx,c=us

So i want to get only Number 2 in my value whose value uid=is number but not uid=gsa which start with letters ,

I added a filter like this but didnot work

I agree. Here's the link:
subject: LDAP Search Filter in java
jQuery in Action, 3rd edition