[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

LDAP Query Blank

Posted on 2009-03-31
4
Medium Priority
?
605 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 2000 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

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

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

This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
Your data is at risk. Probably more today that at any other time in history. There are simply more people with more access to the Web with bad intentions.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

656 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