Solved

LDAP Search String in windows2003

Posted on 2011-03-25
2
286 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

In a hurry?.. scroll down to "HERE's HOW TO DO IT" Section. Greetings All, I was going to post this as question/solution, but its seems more appropriate as an article considering its length.  I felt it important to illucidate all the details c…
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…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

691 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