Solved

How to find LDAP search string on Windows 2003

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

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

Suggested Solutions

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
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.

739 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