Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 296
  • Last Modified:

LDAP Search String in windows2003

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
pdsmicro
Asked:
pdsmicro
1 Solution
 
arnoldCommented:
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
 
pdsmicroAuthor Commented:
i do not know much about LDAP and left it as it is .
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now