Solved

LDAP Search String in windows2003

Posted on 2011-03-25
2
280 Views
Last Modified: 2012-05-11
i have an active directory domain
abc.com  within i have ou=usa under that ou=ny then siite ou=nyc

i put this seach string as below
ou=nyc,ou=ny,ou=usa,DC=abc,DC=com

some reason the printer finds some users by both first and last name, but can not find fw users by first name. it finds the user by last name.

all the users are in same OU
how do i fix this?
0
Comment
Question by:pdsmicro
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 78

Accepted Solution

by:
arnold earned 500 total points
ID: 35221871
What is your complete query?
you need to surround the name with *nametobefound* as the search parameter
dsquery user -name *name* "ou=nyc,ou=ny,ou=usa,DC=abc,DC=com"
0
 

Author Closing Comment

by:pdsmicro
ID: 35328662
i do not know much about LDAP and left it as it is .
0

Featured Post

Independent Software Vendors: 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

by Nathan Brom/Bromy2004 Introduction There are numerous websites out there for any different type of program you can imagine.  Of those, you'll need to decide which ones are legitimate and aren't trying to steal your money or infect your comput…
When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

726 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