?
Solved

ldapsearch is not returning result with wildcard search

Posted on 2009-04-03
1
Medium Priority
?
1,327 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
ID: 24133605
It seems ldapsearch is not fuly implemented on the windows version. it is a hackerware anyways.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
Creating a Cordova application which allow user to save to/load from his Dropbox account the application database.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

830 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