Solved

LDAP Filtering with HP LaserJet 500

Posted on 2014-02-12
7
491 Views
Last Modified: 2014-03-23
So, I'm attempting to use an LDAP filter to filter out addresses that have "hide from exchange address lists" checked, because it seems the printer doesn't do this by default. I have thus far composed two queries. The first is
 
(&(&(&(objectClass=group)(!(groupType:1.2.840.113556.1.4.803:=2147483648)))(!(MSExchHideFromAddressLists=TRUE))))
 
This one works fine in my active directory environment and when I enter it into the printer. The second query is this:
 
(&(objectClass=user)(objectCategory=Person)(!msExchHideFromAddressLists=TRUE))
 
This one works fine in my active directory environment, but does not work when I enter it into the printer. I plan to ultimately combine these two queries, like so:
 
(|(&(&(&(objectClass=group)(!(groupType:1.2.840.113556.1.4.803:=2147483648)))(!(MSExchHideFromAddressLists=TRUE))))(&(objectClass=user)(objectCategory=Person)(!msExchHideFromAddressLists=TRUE)))
 
This query works fine in active directory as well, but will not work in the printer. I need to figure out why the printer won't take these queries.
0
Comment
Question by:ahahum
  • 3
  • 2
7 Comments
 
LVL 57

Expert Comment

by:Mike Kline
ID: 39854465
Does a basic

(&(objectClass=user)(objectCategory=Person)) work for all users?  I'm talking about in the printer.

Do they use the same syntax as you are using in ADUC?

Thanks

Mike
0
 

Author Comment

by:ahahum
ID: 39854474
Yes, basic queries work ok. As far as I know, it uses standard LDAP query syntax, but it's possible there's something a bit different that I'm unaware of. I haven't been able to find any info online about how the printers treat LDAP queries, so I'm kind of shooting in the dark.
0
 

Author Comment

by:ahahum
ID: 39859038
This one apparently isn't an easy one. I was hoping someone out there had a bit of experience with LDAP queries on these printers.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 57

Expert Comment

by:Mike Kline
ID: 39859048
I wish I could help more but don't have a printer to test with so I don't want to make up the answer.
0
 

Accepted Solution

by:
ahahum earned 0 total points
ID: 39871219
To update everyone, I've basically figured out a workaround/solution. It seems the printer doesn't like the (!msExchHideFromAddressLists=TRUE)) portion of the query when applied to users. It works for groups. Since the original issue came to my attention because a user selected a hidden group in the printer, I've applied this filter:

(|(&(&(&(objectClass=group)(!(groupType:1.2.840.113556.1.4.803:=2147483648)))(!(MSExchHideFromAddressLists=TRUE))))(&(objectClass=user)(objectCategory=Person)))

This works. I'd still like to know why it won't let me filter users that are supposed to be hidden, but at least I've got the groups fixed.
0
 
LVL 38

Expert Comment

by:hdhondt
ID: 39948381
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

When I recently replaced my image transfer kit on my office HP color laserjet 5550dn printer, I had a slight problem.  The left bracket that holds the transfer kit got stuck in the upright locked position instead of being at a 45 degree angle facing…
Synchronize a new Active Directory domain with an existing Office 365 tenant
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

920 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

14 Experts available now in Live!

Get 1:1 Help Now