Solved

How to find LDAP search string on Windows 2003

Posted on 2007-03-26
3
11,804 Views
Last Modified: 2011-08-18
Hi

I need help finding out what my LDAP search string is - we recently purchased a photocopier which also has the ability to scan and email the scan onto a user - instead of entering everyones email address into the machine I would like to enter our LDAP server (windows 2003 SBS active directory server) search string into into it to do this automatically - any ideas / suggestions??
0
Comment
Question by:sagarh
[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
3 Comments
 
LVL 74

Expert Comment

by:Jeffrey Kane - TechSoEasy
ID: 18792257
This wouldn't happen to be a Cannon ImageRunner that you're trying to configure would it?

I've fought with those things for quite some time now.  There was a solution posted a while back for this issue which I was never able to test because I convinced the couple of clients that had these machines to get rid of them.  At any rate, you can view the recommendation here:  http:Q_22084755.html

From what I understand you cannot actually authenticate against LDAP in a Server 2003 environment unless it's from a domain member device.  Generally those machines cannot join a domain... so we come to the point at which you now find yourself.

If you leased this machine and have an opportunity to send it back... I'd do so.  I can tell you that a machine in a similar class but MUCH better to integrate into an SBS domain is the Savin 4045e.  They are near perfect.

Jeff
TechSoEasy
0
 

Author Comment

by:sagarh
ID: 18792447
Thanks for the info...

However, my question was how to form a LDAP search string...not specifically on how to get a photocopier to work. I have not got to the stage yet of finding out if my photocopier will authenticate or not.

Thanks
0
 
LVL 74

Accepted Solution

by:
Jeffrey Kane - TechSoEasy earned 500 total points
ID: 18792676
Oops... I guess I did bring my own issues into the question a bit.  Sorry about that.  :-)

There are some good examples of how to construct an LDAP search string here:

http://www.petri.co.il/ldap_search_samples_for_windows_2003_and_exchange.htm

For querying the full list of User accounts on SBS for example, the string would be:
(ld, "OU=SBSUsers,OU=Users,OU=MyBusiness,DC=DomainName,DC=local", 1, "(objectclass=*)", attrList,  0, &msg)

FYI, I use the LDP GUI tool (included in Windows 2003 Support Tools) to create search strings... because I can never remember the syntax as I don't use it that often.  

Jeff
TechSoEasy
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Active Directory security has been a hot topic of late, and for good reason. With 90% of the world’s organization using this system to manage access to all parts of their IT infrastructure, knowing how to protect against threats and keep vulnerabil…
Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
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 …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

623 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