Solved

ldapsearch is not returning result with wildcard search

Posted on 2009-04-03
1
1,291 Views
Last Modified: 2013-12-19
I have installed openldap 2.2.29 on windows. I cannot get a search result using wildcard search. The same search resturns me correct result with exact search.  
Do I need to change slapd.conf to get results from wildcard search. Please see attached snippet from my command line operation.
I am gettting the same behaviour using JNDI call.

C:\OpenLDAP>ldapsearch -x -b "dc=authdev,dc=com" -s sub "(agjsUserName=ddas)"

# extended LDIF

#

# LDAPv3

# base <dc=authdev,dc=com> with scope sub

# filter: (agjsUserName=ddas)

# requesting: ALL

#
 

# ddas, AUTHDEV.COM

dn: agjsUserName=ddas,dc=AUTHDEV,dc=COM

agjsGroupId: 1

agjsMethod: 1

agjsInserted: 1238713834564

agjsChannel: -none-

agjsUpdated: 1238713834564

agjsStatus: 1

agjsId: 0

agjsChannelType: 0

objectClass: agjsUser

agjsPassword: -none-

agjsUserName: ddas
 

# search result

search: 2

result: 0 Success
 

# numResponses: 2

# numEntries: 1
 

C:\OpenLDAP>ldapsearch -x -b "dc=authdev,dc=com" -s sub "(agjsUserName=dda*)"

# extended LDIF

#

# LDAPv3

# base <dc=authdev,dc=com> with scope sub

# filter: (agjsUserName=dda*)

# requesting: ALL

#
 

# search result

search: 2

result: 0 Success
 

# numResponses: 1

Open in new window

0
Comment
Question by:ddas_auth
1 Comment
 
LVL 1

Accepted Solution

by:
ddas_auth earned 0 total points
Comment Utility
It seems ldapsearch is not fuly implemented on the windows version. it is a hackerware anyways.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
array6 challenfge 6 62
Database restore 8 66
vcenter 6 u2 install question 1 84
maven project error 5 17
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now