Solved

How to find LDAP search string on Windows 2003

Posted on 2007-03-26
3
11,748 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Because virtualization becomes more and more common, and, with Microsoft Hyper-V included in Windows Server at no additional costs, and, most server hardware nowadays is more than capable of running a physical Small Business Server (SBS) 2008 or 201…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
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 …

895 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

20 Experts available now in Live!

Get 1:1 Help Now