Solved

LDAP Filtering with HP LaserJet 500

Posted on 2014-02-12
7
496 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

This article runs through the process of deploying a single EXE application selectively to a group of user.
In-place Upgrading Dirsync to Azure AD Connect
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

839 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