Solved

LDAP Query Blank

Posted on 2009-03-31
4
574 Views
Last Modified: 2013-12-24
Hi Guys,

I am attempting to run an LDAP query the below query works but I would like to find profile paths which are blank what syntax should I be using?

(&(objectClass=user)(scriptPath=logmein.bat))

I would like to change to:

(&(objectClass=user)(scriptPath=????))

SEARCH FOR SCRIPT PATHS WITH NO DATA
0
Comment
Question by:Raheem05
  • 2
  • 2
4 Comments
 
LVL 14

Expert Comment

by:Dustin Hopkins
ID: 24032204
It should be:
(&(objectClass=user)(!scriptPath=*))
0
 
LVL 16

Author Comment

by:Raheem05
ID: 24032383
Hi Dusion,

I have been fiddling with this all day and managed to do the above BUT it also querys computers too which beats the object of querying users any ideas why computers are also showing on this query?
0
 
LVL 14

Assisted Solution

by:Dustin Hopkins
Dustin Hopkins earned 500 total points
ID: 24032470
Yes you need to add another filter.
(&(objectCategory=person)(objectClass=user)(!scriptPath=*))
0
 
LVL 16

Accepted Solution

by:
Raheem05 earned 0 total points
ID: 24032477
thanks Dusion!
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Database tuning – How to start and what to tune. This question is frequently asked by many people, both online and offline. There is no hard and fast rule-of-thumb for performance tuning, however, before beginning the tuning process one should a…
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
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…

758 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

20 Experts available now in Live!

Get 1:1 Help Now