Solved

LDAP Query Blank

Posted on 2009-03-31
4
594 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
[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
  • 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

Webinar: MariaDB® Server 10.2: The Complete Guide

Join Percona’s Chief Evangelist, Colin Charles as he presents MariaDB Server 10.2: The Complete Guide on Tuesday, June 27, 2017 at 7:00 am PDT / 10:00 am EDT (UTC-7).

Question has a verified solution.

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

These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
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…
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…

717 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